mirror of
https://github.com/corda/corda.git
synced 2025-01-31 16:35:43 +00:00
fix Java 6 build
Java 6's javac is not as smart as Java 7's when it comes to calling overloaded methods from an inner class, so we have to be more explicit.
This commit is contained in:
parent
8f4c0e78ce
commit
d00debd250
@ -185,9 +185,10 @@ public class SocketChannel extends SelectableChannel
|
||||
}
|
||||
|
||||
if (a == null) {
|
||||
bind(socket, 0, 0);
|
||||
SocketChannel.bind(socket, 0, 0);
|
||||
} else {
|
||||
bind(socket, a.getAddress().getRawAddress(), a.getPort());
|
||||
SocketChannel.bind
|
||||
(socket, a.getAddress().getRawAddress(), a.getPort());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user