[premain] NullPointerException with LambdaWithUseImplMethodHandle.java

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: hotspot

      When running test/hotspot/jtreg/runtime/cds/appcds/LambdaWithUseImplMethodHandle.java with -vmoptions:-XX:+AOTClassLinking:

      Exception in thread "main" java.lang.NullPointerException
      at java.base/java.util.Optional.ifPresent(Optional.java:178)
      at pkg2.Child.test(Unknown Source)
      at LambdaWithUseImplMethodHandleApp.main(LambdaWithUseImplMethodHandleApp.java:32)

      =====================
      The above failure has the same root cause as reported elsewhere:

      https://mail.openjdk.org/pipermail/leyden-dev/2024-September/000987.html
      https://github.com/tristantarrant/elytron-leyden
      https://github.com/ashu-mehra/leyden-testcase/

            Assignee:
            Ioi Lam
            Reporter:
            Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: