diff options
author | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2021-03-19 03:05:25 +0100 |
---|---|---|
committer | Reinier Zwitserloot <r.zwitserloot@projectlombok.org> | 2021-03-19 03:17:39 +0100 |
commit | 937a4dfca209d30e567a4c4fcbc9fe868221680a (patch) | |
tree | b11cc26d2bb74f8ca59750cc904e344e5f5fa8f5 /src/core/lombok/javac | |
parent | 5241235b99286243d02463adc7f8b0fd3d9ab5b4 (diff) | |
download | lombok-937a4dfca209d30e567a4c4fcbc9fe868221680a.tar.gz lombok-937a4dfca209d30e567a4c4fcbc9fe868221680a.tar.bz2 lombok-937a4dfca209d30e567a4c4fcbc9fe868221680a.zip |
[jdk16] fix delombok (and the test suite, which depends on it) for jdk16.
Diffstat (limited to 'src/core/lombok/javac')
-rw-r--r-- | src/core/lombok/javac/apt/LombokProcessor.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/apt/LombokProcessor.java b/src/core/lombok/javac/apt/LombokProcessor.java index e9837cc9..6552f15b 100644 --- a/src/core/lombok/javac/apt/LombokProcessor.java +++ b/src/core/lombok/javac/apt/LombokProcessor.java @@ -480,7 +480,7 @@ public class LombokProcessor extends AbstractProcessor { } /** Useful from jdk9 and up; required from jdk16 and up. This code is supposed to gracefully do nothing on jdk8 and below, as this operation isn't needed there. */ - private static void addOpensForLombok() { + public static void addOpensForLombok() { Class<?> cModule; try { cModule = Class.forName("java.lang.Module"); |