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

Revert some inference fixes in JDK-8033718

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 8u20
    • 8u20
    • 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

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

                Created:
                Updated:
                Resolved: