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.

View | Details | Raw Unified | Return to bug 32747
Collapse All | Expand All

(-)org/netbeans/core/output/OutputTabTerm.java (-2 / +4 lines)
Lines 1897-1911 Link Here
1897
	     * at class State.
1897
	     * at class State.
1898
	     */
1898
	     */
1899
1899
1900
            private synchronized void appendText (String str, boolean repaint) {
1900
            private void appendText (String str, boolean repaint) {
1901
                appendText( str, repaint, true );
1901
                appendText( str, repaint, true );
1902
            }
1902
            }
1903
1903
1904
            private synchronized void appendText (String str, boolean repaint, boolean checkException) {
1904
            private void appendText (String str, boolean repaint, boolean checkException) {
1905
		// We're synchronized because we might be called in parallel
1905
		// We're synchronized because we might be called in parallel
1906
		// for stdout and stderr streams and 'line_buf' is shared.
1906
		// for stdout and stderr streams and 'line_buf' is shared.
1907
		// It helps but I still see where stuff gets intermixed probably
1907
		// It helps but I still see where stuff gets intermixed probably
1908
		// because exception lines get broken up on som buffer boundry.
1908
		// because exception lines get broken up on som buffer boundry.
1909
                synchronized (line_buf) { // #32747 - do not synch on TermOutputWriter.this!
1909
1910
1910
                if (isTimerMode ()) {
1911
                if (isTimerMode ()) {
1911
                    /** I don`t want to call term.appendText basically. But it
1912
                    /** I don`t want to call term.appendText basically. But it
Lines 1974-1979 Link Here
1974
1975
1975
                appendChars(tmp,0, str.length(), repaint);
1976
                appendChars(tmp,0, str.length(), repaint);
1976
                tryParsing();
1977
                tryParsing();
1978
                }
1977
            }
1979
            }
1978
1980
1979
            private void appendChars(char[] chars,int offs, int len, boolean repaint) {                        
1981
            private void appendChars(char[] chars,int offs, int len, boolean repaint) {                        

Return to bug 32747