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

ObjectMethods::bootstrap throws NPE when lookup is null

XMLWordPrintable

    • b28
    • Verified

        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.

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

                Created:
                Updated:
                Resolved: