Java 1.6 compatibility fixes
This commit is contained in:
parent
9bb03fa919
commit
aa686ef99a
|
@ -1,6 +1,6 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<module type="JAVA_MODULE" version="4">
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8" inherit-compiler-output="true">
|
||||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_6" inherit-compiler-output="true">
|
||||
<exclude-output />
|
||||
<content url="file://$MODULE_DIR$">
|
||||
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
|
||||
|
|
|
@ -110,7 +110,7 @@ class ConnectionImpl extends ChannelInboundHandlerAdapter implements ICryptoConn
|
|||
//
|
||||
private final RmiBridge rmiBridge;
|
||||
private final Map<Integer, RemoteObject> proxyIdCache = new WeakHashMap<Integer, RemoteObject>(8);
|
||||
private final IntMap<RemoteObjectCallback> rmiRegistrationCallbacks = new IntMap<>();
|
||||
private final IntMap<RemoteObjectCallback> rmiRegistrationCallbacks = new IntMap<RemoteObjectCallback>();
|
||||
private int rmiRegistrationID = 0; // protected by synchronized (rmiRegistrationCallbacks)
|
||||
|
||||
/**
|
||||
|
|
|
@ -290,7 +290,7 @@ class RmiGlobalTest extends BaseTest {
|
|||
.add(new Listener.OnMessageReceived<Connection, MessageWithTestCow>() {
|
||||
@Override
|
||||
public
|
||||
void received(Connection connection, MessageWithTestCow m) {
|
||||
void received(final Connection connection, MessageWithTestCow m) {
|
||||
System.err.println("Received finish signal for test for: Server -> Client");
|
||||
|
||||
TestCow object = m.testCow;
|
||||
|
|
|
@ -204,7 +204,7 @@ class RmiTest extends BaseTest {
|
|||
listeners.add(new Listener.OnMessageReceived<Connection, MessageWithTestCow>() {
|
||||
@Override
|
||||
public
|
||||
void received(Connection connection, MessageWithTestCow m) {
|
||||
void received(final Connection connection, MessageWithTestCow m) {
|
||||
System.err.println("Received finish signal for test for: Client -> Server");
|
||||
|
||||
TestCow object = m.testCow;
|
||||
|
|
Loading…
Reference in New Issue
Block a user