Community
Participate
Working Groups
Running the following program within Eclipse shows that the ordering of output sent to stdout and stderr is not deterministic. If the program is run outside of Eclipse the order is correct. This is a serious problem for programs like 'javadoc' which report the location of a problem via stdout and the problem itself via stderr. With the Eclipse console javadoc's output is impossible to interpret. public class Writer { public static void main(String[] args) { for (int i= 0; i < 100; i++) { System.out.println("stdout: " + i); System.out.flush(); System.err.println("stderr: " + i); System.err.flush(); } } }
*** This bug has been marked as a duplicate of 6036 ***