aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorJack Lu <Jack.S.Lu@ibm.com>2020-04-22 18:46:06 -0400
committerRoel Spilker <r.spilker@gmail.com>2020-05-28 21:10:03 +0200
commitcd0af7a6370d7bf65a15bde53a78338522e53908 (patch)
tree8cc6b09e201168ad028178a0bfa38bc35770c6db /src/utils
parent265c56d229093a307ebf231baa191663f953cf1e (diff)
downloadlombok-cd0af7a6370d7bf65a15bde53a78338522e53908.tar.gz
lombok-cd0af7a6370d7bf65a15bde53a78338522e53908.tar.bz2
lombok-cd0af7a6370d7bf65a15bde53a78338522e53908.zip
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.
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/lombok/permit/Permit.java1
1 files changed, 1 insertions, 0 deletions
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 {