diff --git a/classpath/java/nio/channels/ServerSocketChannel.java b/classpath/java/nio/channels/ServerSocketChannel.java index 1bc0891115..6c90af63f6 100644 --- a/classpath/java/nio/channels/ServerSocketChannel.java +++ b/classpath/java/nio/channels/ServerSocketChannel.java @@ -25,6 +25,8 @@ public class ServerSocketChannel extends SelectableChannel { } public static ServerSocketChannel open() throws IOException { + Socket.init(); + return new ServerSocketChannel(); }