mirror of
https://github.com/tiennm99/lombok.git
synced 2026-10-14 06:17:44 +00:00
issue 536: annotationprocessor now always returns false.
This commit is contained in:
1 parent
5fd82596f6
commit
b3dac7722e
2 files changed
+2
-9
No files matched your search
@@ -164,12 +164,9 @@ public class AnnotationProcessor extends AbstractProcessor {
|
||||
}
|
||||
}
|
||||
|
||||
boolean handled = false;
|
||||
for (ProcessorDescriptor proc : active) {
|
||||
handled |= proc.process(annotations, roundEnv);
|
||||
}
|
||||
for (ProcessorDescriptor proc : active) proc.process(annotations, roundEnv);
|
||||
|
||||
return handled;
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -62,10 +62,6 @@ import com.sun.tools.javac.util.Context;
|
||||
/**
|
||||
* This Annotation Processor is the standard injection mechanism for lombok-enabling the javac compiler.
|
||||
*
|
||||
* Due to lots of changes in the core javac code, as well as lombok's heavy usage of non-public API, this
|
||||
* code only works for the javac v1.6 compiler; it definitely won't work for javac v1.5, and it probably
|
||||
* won't work for javac v1.7 without modifications.
|
||||
*
|
||||
* To actually enable lombok in a javac compilation run, this class should be in the classpath when
|
||||
* running javac; that's the only requirement.
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user