Types.wildLowerBound and cvarLowerBound should call unannotatedType()

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Not an Issue
    • Priority: P5
    • 9
    • Affects Version/s: 9
    • Component/s: 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().

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

                Created:
                Updated:
                Resolved: