-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JDK 17: Incorrect file name for lambda methods in DWARF info of images generated with Mandrel 21.3 #355
Comments
/cc @zakkak |
Thanks for creating an issue for this @jerboaa , I am aware of this (due to the integration test failures) but I have been constantly de-prioritizing it. Are you having a look at this or shall I pick it up? |
Note, this issue is not Mandrel specific. The issue manifests in GraalVM CE builds as well. It looks like the regression was introduced with openjdk/jdk17u@7cc1371 . From my current evaluation it looks like classes previously named I will try to create tests and provide a proper fix probably next week. |
Thanks for the analysis! Feel free to bring this issue to upstream graal in that case. Thanks! |
This turned out to be an upstream OpenJDK issue. A proposed fix is submitted in openjdk/jdk#7346 |
This issue appears to be stale because it has been open 30 days with no activity. This issue will be closed in 7 days unless |
Backport PR to jdk17u-dev fixing this issue: openjdk/jdk17u-dev#274 |
This is now merged and expected to land in OpenJDK 17.0.4 |
Closes #81
This should be fixed with the latest temurin EA build from here (should identify as |
This is indeed fixed (see https://github.com/graalvm/mandrel/runs/6363101190?check_suite_focus=true, the failure is in the AWT test not in the GDB one) The fix will land in Mandrel 22.2.0.0 and 21.3.3.0. |
Description
This is similar to #266, but for JDK 17. The root cause must be different as the boot JDK has the fix for
MetaUtil.java
which we did for JDK 11 is present in OpenJDK 17. See:https://github.com/openjdk/jdk17u/blob/6f0f42630eac1febf562062afc523fdf3d2a920a/src/jdk.internal.vm.ci/share/classes/jdk.vm.ci.meta/src/jdk/vm/ci/meta/MetaUtil.java#L95
For the reproducer I see this:
Contrast this to a JDK 11-based mandrel 21.3 produced native image:
Additional info:
I've noticed that the mandrel integration test for this fails for JDK 17-based builds.
Configuration:
The text was updated successfully, but these errors were encountered: