mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
exception logging 2
This commit is contained in:
+6
-1
@@ -105,6 +105,9 @@ public class CompilerParsingThread implements Runnable, OutputParser.Callback {
|
||||
}
|
||||
|
||||
public final String getNextLine() {
|
||||
if (CompileDriver.ourDebugMode) {
|
||||
System.out.println("Before reading line");
|
||||
}
|
||||
final String pushBack = myPushBackLine;
|
||||
if (pushBack != null) {
|
||||
myPushBackLine = null;
|
||||
@@ -227,7 +230,9 @@ public class CompilerParsingThread implements Runnable, OutputParser.Callback {
|
||||
if (!CompileDriver.ourDebugMode) {
|
||||
while(!reader.ready()) {
|
||||
if (isProcessTerminated()) {
|
||||
return -1;
|
||||
//if (!reader.ready()) {
|
||||
return -1;
|
||||
//}
|
||||
}
|
||||
try {
|
||||
Thread.sleep(1L);
|
||||
|
||||
Reference in New Issue
Block a user