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

ObjectMethods::bootstrap throws NPE when lookup is null

    XMLWordPrintable

    Details

    • Subcomponent:
    • Resolved In Build:
      b28
    • Verification:
      Verified

      Backports

        Description

        It's noticed couple of JCK test failures with current JDK mainline sources, and the fix possibly part of JDK18-ea26.

        The tests are conforming to the spec updated in recent CSR - https://bugs.openjdk.java.net/browse/JDK-8272852 (ObjectMethods::bootstrap should specify NPE if any argument except lookup is null)

        It looks like a regression caused by https://bugs.openjdk.java.net/browse/JDK-8261847 - Where makeString() method using "lookup" for string construction which can be technically null.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                vromero Vicente Arturo Romero Zaldivar
                Reporter:
                kganapureddy Krushnareddy Ganapureddy
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: