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

[lworld] ValueBootstrapMethods::isSubstitutable throws NPE

    Details

    • Type: Bug
    • Status: Open
    • Priority: P3
    • Resolution: Unresolved
    • Affects Version/s: repo-valhalla
    • Fix Version/s: repo-valhalla
    • Component/s: core-libs
    • Labels:

      Description

      Exception in thread "main" java.lang.InternalError: java.lang.NullPointerException: MyValue2 is an inline class
      at java.base/java.lang.invoke.ValueBootstrapMethods.isSubstitutable0(ValueBootstrapMethods.java:555)
      at Test.main(Test.java:37)
      Caused by: java.lang.NullPointerException: MyValue2 is an inline class
      at java.base/java.lang.Class.cast(Class.java:3730)
      at java.base/java.lang.invoke.ValueBootstrapMethods.isSubstitutable0(ValueBootstrapMethods.java:551)
      ... 1 more

      The reproducible test case is at: https://bugs.openjdk.java.net/secure/attachment/85600/Test.java

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mchung Mandy Chung
                Reporter:
                mchung Mandy Chung
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: