From cd0af7a6370d7bf65a15bde53a78338522e53908 Mon Sep 17 00:00:00 2001 From: Jack Lu Date: Wed, 22 Apr 2020 18:46:06 -0400 Subject: 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. --- src/utils/lombok/permit/Permit.java | 1 + 1 file changed, 1 insertion(+) (limited to 'src/utils/lombok/permit/Permit.java') diff --git a/src/utils/lombok/permit/Permit.java b/src/utils/lombok/permit/Permit.java index b7c5f0d9..407c3922 100644 --- a/src/utils/lombok/permit/Permit.java +++ b/src/utils/lombok/permit/Permit.java @@ -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 { -- cgit