-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[BUG] Lombok crashes with OpenJ9 #2414
Comments
I can reproduce consistently without Gradle. Command below:
It looks like a general protection fault in the OpenJ9 library This works ok when I compile with JDK 13.0.2 and without OpenJ9. I don't think there is anything the Lombok project can do to fix this. It looks like a bug in OpenJ9. I'm linking the OpenJ9 issue that is investigating this. As a workaround, I suspect you can compile without OpenJ9 and then use OpenJ9 for runtime. |
Currently lombok crashes when building with OpenJ9 JDK as described in projectlombok#2414 It is due to the `override` field offset from Fake.class doesn't match actual offset value for AccessibleObject.class in OpenJ9 This change is to support the OpenJ9 Field layout algorithm.
The issue is due to the different field layout algorithms in Hotspot vs OpenJ9 and can be fixed by making the "Fake" class have the same fields as AccessibleObject - see @fengxue-IS's PR #2437 - so that it works regardless of changes to the field layout algorithms. |
Currently lombok crashes when building with OpenJ9 JDK as described in #2414 It is due to the `override` field offset from Fake.class doesn't match actual offset value for AccessibleObject.class in OpenJ9 This change is to support the OpenJ9 Field layout algorithm.
Can someone confirm the fix in the edge release? |
confirms edge release works on my local machine
pom.xml
Java
|
Thanks for the verification |
Describe the bug
Lombok annotation processor crashes when trying to build a project with OpenJ9, version 13.
To Reproduce
Compile any project, and process will crash.
Expected behavior
Everything should work as expected
Version info (please complete the following information):
daemon-1420.out.log
javacore.20200405.151557.5760.0002.txt
The text was updated successfully, but these errors were encountered: