diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-09-24 01:55:31 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-09-24 01:55:31 +0200 |
commit | f0cdc27a3f86c0ca728ad598893dd2b95ba38e20 (patch) | |
tree | bb132da815714e2189bf947b6514233cf82f9e22 | |
parent | 7b8a85e1f991f838d6692ef789f53ed604a4a4e9 (diff) | |
download | lombok-f0cdc27a3f86c0ca728ad598893dd2b95ba38e20.tar.gz lombok-f0cdc27a3f86c0ca728ad598893dd2b95ba38e20.tar.bz2 lombok-f0cdc27a3f86c0ca728ad598893dd2b95ba38e20.zip |
tiny tiny fix for some incredibly unlikely mix of intellij, ibm stuff, and who knows what. At any rate, Roel is absolutely sure this will fix it, so, hey, who am I to argue? NB: Unicum
-rw-r--r-- | src/core/lombok/javac/apt/Processor.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lombok/javac/apt/Processor.java b/src/core/lombok/javac/apt/Processor.java index 110acaad..5f28aa88 100644 --- a/src/core/lombok/javac/apt/Processor.java +++ b/src/core/lombok/javac/apt/Processor.java @@ -210,6 +210,7 @@ public class Processor extends AbstractProcessor { Field f = JavacProcessingEnvironment.class.getDeclaredField("processorClassLoader"); f.setAccessible(true); ClassLoader unwrapped = (ClassLoader) f.get(processingEnv); + if (unwrapped == null) return; ClassLoader wrapped = new WrappingClassLoader(unwrapped); f.set(processingEnv, wrapped); } catch (NoSuchFieldException e) { |