-
Bug
-
Resolution: Not an Issue
-
P5
-
None
-
1.3.0
-
sparc
-
solaris_8
The exec() method in java.lang.Runtime does not properly handle standar ouptput produced by the command. If a program uses the exec() to execute an UNIX command and uses the waitFor() method to wait for the command to finish execution, the whole application may freeze if the standard output produced by the command exceeds 10k. The attached source, compiled code and sample test data can prove the bug. To run the sample test case, type java run <file name> Example: test run test2