langtools/src/share/classes/com/sun/tools/javac/main/JavaCompiler.java
changeset 6929 81a6a7c1bef1
parent 6721 d92073844278
child 7076 c96fa26247c8
equal deleted inserted replaced
6928:b261e884b833 6929:81a6a7c1bef1
   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.