equal
deleted
inserted
replaced
509 */ |
509 */ |
510 protected Set<JavaFileObject> inputFiles = new HashSet<JavaFileObject>(); |
510 protected Set<JavaFileObject> inputFiles = new HashSet<JavaFileObject>(); |
511 |
511 |
512 protected boolean shouldStop(CompileState cs) { |
512 protected boolean shouldStop(CompileState cs) { |
513 if (shouldStopPolicy == null) |
513 if (shouldStopPolicy == null) |
514 return (errorCount() > 0); |
514 return (errorCount() > 0 || unrecoverableError()); |
515 else |
515 else |
516 return cs.ordinal() > shouldStopPolicy.ordinal(); |
516 return cs.ordinal() > shouldStopPolicy.ordinal(); |
517 } |
517 } |
518 |
518 |
519 /** The number of errors reported so far. |
519 /** The number of errors reported so far. |