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/
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/