aboutsummaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-19 03:05:25 +0100
committerReinier Zwitserloot <r.zwitserloot@projectlombok.org>2021-03-19 03:17:39 +0100
commit937a4dfca209d30e567a4c4fcbc9fe868221680a (patch)
treeb11cc26d2bb74f8ca59750cc904e344e5f5fa8f5 /src/core
parent5241235b99286243d02463adc7f8b0fd3d9ab5b4 (diff)
downloadlombok-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')
-rw-r--r--src/core/lombok/javac/apt/LombokProcessor.java2
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");