JDK-2206926 : Use single Context for all rounds of annotation processing
Type:Enhancement
Component:tools
Sub-Component:javac
Affected Version:8
Priority:P3
Status:Closed
Resolution:Duplicate
Submitted:2011-02-24
Updated:2024-10-09
Resolved:2014-03-27
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.
EVALUATION
The current approach of creating a context per anno processing round is flawed and somewhat error prone. It would be better to revert javac back to using a single context for the compilation, even though reverting the compilation state for each processing round is itself a risky actictity.