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:
Jack Lu authored and Roel Spilker committed 2020-05-28 21:10:03 +02:00
1 parent 265c56d229
commit cd0af7a637
1 file changed
+1
+1
View File
@@ -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 {