Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8042803

Types.wildLowerBound and cvarLowerBound should call unannotatedType()

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Not an Issue
    • P5
    • 9
    • 9
    • tools

    Backports

      Description

        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().

        Attachments

          Issue Links

            Activity

              People

                dlsmith Dan Smith
                dlsmith Dan Smith
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: