diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2020-12-22 05:19:41 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2021-03-16 17:39:56 +0100 |
commit | 9806e5cca4b449159ad0509dafde81951b8a8523 (patch) | |
tree | c15f595e7e6e1062bf51d279677c138083f28063 /src/utils/lombok/permit/dummy/package-info.java | |
parent | 476a43b970b01eafcc053eead69db57a0ab854cf (diff) | |
download | lombok-9806e5cca4b449159ad0509dafde81951b8a8523.tar.gz lombok-9806e5cca4b449159ad0509dafde81951b8a8523.tar.bz2 lombok-9806e5cca4b449159ad0509dafde81951b8a8523.zip |
[fixes #2681] [jdk16] support jdk16
Diffstat (limited to 'src/utils/lombok/permit/dummy/package-info.java')
-rw-r--r-- | src/utils/lombok/permit/dummy/package-info.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/utils/lombok/permit/dummy/package-info.java b/src/utils/lombok/permit/dummy/package-info.java new file mode 100644 index 00000000..87ca839a --- /dev/null +++ b/src/utils/lombok/permit/dummy/package-info.java @@ -0,0 +1,8 @@ +/** + * This package recreates the type hierarchy of {@code java.lang.reflect.AccessibleObject} and friends (such as {@code java.lang.reflect.Method}); + * its purpose is to allow us to ask {@code sun.misc.internal.Unsafe} about the exact offset of the {@code override} field of {@code AccessibleObject}; + * asking about that field directly doesn't work after jdk14, presumably because the fields of AO are expressly hidden somehow. + * + * NB: It's usually 12, on the vast majority of OS, VM, and architecture combos. + */ +package lombok.permit.dummy; |