aboutsummaryrefslogtreecommitdiff
path: root/src/launch/lombok
diff options
context:
space:
mode:
Diffstat (limited to 'src/launch/lombok')
-rw-r--r--src/launch/lombok/launch/Main.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/launch/lombok/launch/Main.java b/src/launch/lombok/launch/Main.java
index 82913f8e..08298cc2 100644
--- a/src/launch/lombok/launch/Main.java
+++ b/src/launch/lombok/launch/Main.java
@@ -25,9 +25,8 @@ import java.lang.reflect.InvocationTargetException;
import java.util.Arrays;
class Main {
-
private static ShadowClassLoader classLoader;
-
+
static synchronized ClassLoader getShadowClassLoader() {
if (classLoader == null) {
classLoader = new ShadowClassLoader(Main.class.getClassLoader(), "lombok", null, Arrays.<String>asList(), Arrays.asList("lombok.patcher.Symbols"));