JDK-8040327 : Eliminate AnnotatedType
  • Type: Sub-task
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 8,9
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2014-04-15
  • Updated: 2019-04-15
  • Resolved: 2014-05-09
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 9
9 b14Fixed
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
AnnotatedType has been a source of many bugs, and complicates the API considerably.  Furthermore, it is questionable whether it implements the javax.lang.model API calls correctly.

It should be eliminated.  Type should contain type annotations, and the basic type annotation accessor functions instead, and the javax.lang.model API functions should be implemented properly.