JDK-6403459 : JavacProcessingEnvironment should know if parser errors occurred
  • Type: Bug
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 6
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2006-03-24
  • Updated: 2010-04-03
  • Resolved: 2006-05-30
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6
6 b86Fixed
Related Reports
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
Currently, JavacProcessingEnvironment attempts new rounds of processing if any errors occurred, in the hope that processing will fix the errors.  In reality, parse errors cannot be fixed by processing, so should be regarded as fatal by JavacProcessingEnvironment.
.

Comments
SUGGESTED FIX See 6403468 for changes.
24-05-2006

EVALUATION This would help make annotation processing easier to understand and more robust by failing early when recovery is not possible.
31-03-2006