Merge pull request #219 from dicej/java6

fix Java 6 build
This commit is contained in:
Doug Borg 2014-04-07 13:21:12 -07:00
commit 74d91bb5e2

View File

@ -185,9 +185,10 @@ public class SocketChannel extends SelectableChannel
} }
if (a == null) { if (a == null) {
bind(socket, 0, 0); SocketChannel.bind(socket, 0, 0);
} else { } else {
bind(socket, a.getAddress().getRawAddress(), a.getPort()); SocketChannel.bind
(socket, a.getAddress().getRawAddress(), a.getPort());
} }
} }
} }