Revert some inference fixes in JDK-8033718

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P3
    • 8u20
    • Affects Version/s: 8u20
    • Component/s: tools
    • b20

        JDK-8033718 modified some aspects of inference in order to make it more in line with the spec. However, this led to regressions -- see JDK-8039214. Because JDK-8039214 is too risky to include in 8u20, some changes in JDK-8033718 need to be rolled back.

        Specifically:
        - CapturedUndetVar.addBound should not modify the bounds of the 'bound' parameter
        - Types.isSubtypeNoCapture should not skip the 'cvarLowerBound' call when 't' is an UndetVar

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

                Created:
                Updated:
                Resolved: