src/share/classes/com/sun/tools/javac/main/JavaCompiler.java

changeset 726
2974d3800eb1
parent 711
14a707f8ce84
child 757
c44234f680da
equal deleted inserted replaced
725:601160d857ef 726:2974d3800eb1
1088 } 1088 }
1089 } 1089 }
1090 1090
1091 private boolean unrecoverableError() { 1091 private boolean unrecoverableError() {
1092 for (JCDiagnostic d: log.deferredDiagnostics) { 1092 for (JCDiagnostic d: log.deferredDiagnostics) {
1093 if (d.getKind() == JCDiagnostic.Kind.ERROR && !d.isFlagSet(RESOLVE_ERROR)) 1093 if (d.getKind() == JCDiagnostic.Kind.ERROR && !d.isFlagSet(RECOVERABLE))
1094 return true; 1094 return true;
1095 } 1095 }
1096 return false; 1096 return false;
1097 } 1097 }
1098 1098

mercurial