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

Types.wildLowerBound and cvarLowerBound should call unannotatedType()

XMLWordPrintable

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

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

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

                Created:
                Updated:
                Resolved: