This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
1. Create empty Java Application 2. Add next code to the Main method body: try { System.err.print("hi"); System.in.read(); System.out.println("out"); } catch (IOException ex) { } 3. Run this program Unexpected behavior: - string hi is typed 2 times: one time in red color and one time in black
Created attachment 73045 [details] output window error
It may be a duplicate of issue #147781
Reproducible in a recent dev build. Even simpler: public class Test152090 { public static void main(String[] args) { System.err.print("hi"); } }
1249620e775d
Integrated into 'main-golden', will be available in build *200811050201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/1249620e775d User: Tomas Holy <t_h@netbeans.org> Log: #152090: Wrong output during Java program running