JDK-8042803 : Types.wildLowerBound and cvarLowerBound should call unannotatedType()
  • Type: Enhancement
  • Component: tools
  • Sub-Component: javac
  • Affected Version: 9
  • Priority: P5
  • Status: Resolved
  • Resolution: Not an Issue
  • Submitted: 2014-05-08
  • Updated: 2014-07-29
  • Resolved: 2014-06-17
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.
8u20Fixed 9Resolved
Related Reports
Relates :  
Relates :  
Followup to JDK-8033718: the updated code fails to call unannotatedType() before performing a cast in the wildLowerBound and cvarLowerBound methods.  There's not a straightforward way to prompt this scenario -- an annotated wildcard or capture variable -- but, to be safe and consistent, we should call unannotatedType().
No longer an issue in 9, due to JDK-8040327.

Reopening for now until JDK-8040327 is completed and backported; then I'll close as "Not an Issue". Don't want to allow the bug to accidentally linger by slipping through the cracks.

Integration of JDK-8040327 is immanent (integration jobs running at the time of posting), which will make this a non-issue.

Note that the JDK-8040327 removes not only the AnnotatedType but also the unannotatedType() method.