langtools/src/jdk.compiler/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
equal
deleted
inserted
replaced
1361 errorStatus = errorStatus || (compiler.errorCount() > 0); |
1361 errorStatus = errorStatus || (compiler.errorCount() > 0); |
1362 |
1362 |
1363 // Free resources |
1363 // Free resources |
1364 this.close(); |
1364 this.close(); |
1365 |
1365 |
|
1366 if (errorStatus && compiler.errorCount() == 0) { |
|
1367 compiler.log.nerrors++; |
|
1368 } |
|
1369 |
|
1370 compiler.enterTreesIfNeeded(roots); |
|
1371 |
1366 if (!taskListener.isEmpty()) |
1372 if (!taskListener.isEmpty()) |
1367 taskListener.finished(new TaskEvent(TaskEvent.Kind.ANNOTATION_PROCESSING)); |
1373 taskListener.finished(new TaskEvent(TaskEvent.Kind.ANNOTATION_PROCESSING)); |
1368 |
|
1369 if (errorStatus && compiler.errorCount() == 0) { |
|
1370 compiler.log.nerrors++; |
|
1371 } |
|
1372 |
|
1373 compiler.enterTreesIfNeeded(roots); |
|
1374 |
1374 |
1375 return true; |
1375 return true; |
1376 } |
1376 } |
1377 |
1377 |
1378 private void warnIfUnmatchedOptions() { |
1378 private void warnIfUnmatchedOptions() { |