JDK-4291371 - Java Issue Tracker
Nov 14, 1999 ... ... program", 10000); port.enableReceiveTimeout(3000); InputStream ... It can only block indefinitely, return -1 for end of stream, or throw an ...
Nov 14, 1999 ... ... program", 10000); port.enableReceiveTimeout(3000); InputStream ... It can only block indefinitely, return -1 for end of stream, or throw an ...
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>.
So I have implemented my own class and passed the contentType and InputStream object in the constructor: The folowing is an example to demonstrate the problem.java.io.IOException: read error. at java.lang.Throwable.<init>(Compiled Code).
Include your program and the following diagnostic in your report.at com.intellij.rt.compiler.JavacRunner.main(JavacRunner.java:49) Error: line (0) The compiler did not terminate normally. Exit code is 4.