langtools/src/share/classes/com/sun/tools/javac/processing/JavacProcessingEnvironment.java
equal
deleted
inserted
replaced
1032 JavacProcessingEnvironment.this); |
1032 JavacProcessingEnvironment.this); |
1033 discoveredProcs.iterator().runContributingProcs(renv); |
1033 discoveredProcs.iterator().runContributingProcs(renv); |
1034 } else { |
1034 } else { |
1035 discoverAndRunProcs(context, annotationsPresent, topLevelClasses, packageInfoFiles); |
1035 discoverAndRunProcs(context, annotationsPresent, topLevelClasses, packageInfoFiles); |
1036 } |
1036 } |
|
1037 } catch (Throwable t) { |
|
1038 // we're specifically expecting Abort here, but if any Throwable |
|
1039 // comes by, we should flush all deferred diagnostics, rather than |
|
1040 // drop them on the ground. |
|
1041 deferredDiagnosticHandler.reportDeferredDiagnostics(); |
|
1042 log.popDiagnosticHandler(deferredDiagnosticHandler); |
|
1043 throw t; |
1037 } finally { |
1044 } finally { |
1038 if (!taskListener.isEmpty()) |
1045 if (!taskListener.isEmpty()) |
1039 taskListener.finished(new TaskEvent(TaskEvent.Kind.ANNOTATION_PROCESSING_ROUND)); |
1046 taskListener.finished(new TaskEvent(TaskEvent.Kind.ANNOTATION_PROCESSING_ROUND)); |
1040 } |
1047 } |
1041 } |
1048 } |