diff options
author | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-06-16 10:57:53 +0200 |
---|---|---|
committer | Reinier Zwitserloot <reinier@zwitserloot.com> | 2013-06-16 10:57:53 +0200 |
commit | b3dac7722e699b3f18169265fd77f1731a82d960 (patch) | |
tree | 9f37865e289daddec2cc6139059ba9651b68318c /src/core/lombok | |
parent | 5fd82596f6e80c71da1012e423419eed5c293ac2 (diff) | |
download | lombok-b3dac7722e699b3f18169265fd77f1731a82d960.tar.gz lombok-b3dac7722e699b3f18169265fd77f1731a82d960.tar.bz2 lombok-b3dac7722e699b3f18169265fd77f1731a82d960.zip |
issue 536: annotationprocessor now always returns false.
Diffstat (limited to 'src/core/lombok')
-rw-r--r-- | src/core/lombok/core/AnnotationProcessor.java | 7 | ||||
-rw-r--r-- | src/core/lombok/javac/apt/Processor.java | 4 |
2 files changed, 2 insertions, 9 deletions
diff --git a/src/core/lombok/core/AnnotationProcessor.java b/src/core/lombok/core/AnnotationProcessor.java index 8c5f7fba..e9cf3891 100644 --- a/src/core/lombok/core/AnnotationProcessor.java +++ b/src/core/lombok/core/AnnotationProcessor.java @@ -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; } /** diff --git a/src/core/lombok/javac/apt/Processor.java b/src/core/lombok/javac/apt/Processor.java index 96150b06..110acaad 100644 --- a/src/core/lombok/javac/apt/Processor.java +++ b/src/core/lombok/javac/apt/Processor.java @@ -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. */ |