Results for “java inputstream example program error code update site:bugs.java.com 1”
bugs.java.com
Bug ID: JDK-4197666 Socket descriptors leak into processes spawned...
I have included simple Java programs that demonstrate this bug. Run TCPServer with something like java TCPServer open exec "notepad" exit. Then try connecting to it with TCPClient java TCPClient <host TCPServer was on> <port> <string of text>.