Skip to content
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

Update Fake.class to support OpenJ9 Field Layout #2437

Merged
merged 1 commit into from
May 28, 2020

Conversation

fengxue-IS
Copy link
Contributor

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.

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.
@Thihup
Copy link

Thihup commented May 11, 2020

Any updates on this?

@randakar
Copy link

randakar commented May 13, 2020 via email

@rspilker rspilker merged commit cd0af7a into projectlombok:master May 28, 2020
@rspilker
Copy link
Collaborator

Good find. Thanks!

@asaunin
Copy link

asaunin commented Aug 22, 2020

@rspilker, do you know, when 1.18.13 with fix is going to be released?

@lilaizhencn
Copy link

spring boot 2.3.3 + lombok 1.18.20 and edge-SNAPSHOT cant running with openj9-0.21.0.
the exception:

Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.apache.ibatis.session.SqlSessionFactory]: Factory method 'dsMasterSqlSessionFactory' threw exception; nested exception is java.lang.ClassFormatError: JVMCFRE149 类文件中存在未知常量标记 19;类=module-info,偏移量=68
        at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189)
        at org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588)
        ... 57 common frames omitted
Caused by: java.lang.ClassFormatError: JVMCFRE149 类文件中存在未知常量标记 19;类=module-info,偏移量=68

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants