mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 10:18:46 +00:00
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
This commit is contained in:
1 parent
7b8a85e1f9
commit
f0cdc27a3f
1 file changed
+1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user