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

Revert some inference fixes in JDK-8033718

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 8u20
    • Fix Version/s: 8u20
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b20

      Backports

        Description

        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

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  Due:
                  Created:
                  Updated:
                  Resolved: