Results for “java inputstream tutorial code ... problem game site:bugs.java.com programming”
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>.
bugs.java.com
Bug ID: JDK-6526158 HttpExchange.getRequestBody().close() throws...
HttpExchange.getRequestBody().close() throws the following excpetion when the data is not read from the InputStream.at sun.net.httpserver.LeftOverInputStream.close(LeftOverInputStream.java:48). Attaching the program to produce it. Alos need the port of http.jar for JDK 1.5.