mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 08:18:29 +00:00
Update Fake.class to support OpenJ9 Field Layout
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.
This commit is contained in:
1 parent
265c56d229
commit
cd0af7a637
1 file changed
+1
@@ -95,6 +95,7 @@ public class Permit {
|
||||
|
||||
static class Fake {
|
||||
boolean override;
|
||||
Object accessCheckCache;
|
||||
}
|
||||
|
||||
public static Method getMethod(Class<?> c, String mName, Class<?>... parameterTypes) throws NoSuchMethodException {
|
||||
|
||||
Reference in new issue
Block a user