aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@zwitserloot.com>2013-06-16 10:57:53 +0200
committerReinier Zwitserloot <reinier@zwitserloot.com>2013-06-16 10:57:53 +0200
commitb3dac7722e699b3f18169265fd77f1731a82d960 (patch)
tree9f37865e289daddec2cc6139059ba9651b68318c /src/core/lombok
parent5fd82596f6e80c71da1012e423419eed5c293ac2 (diff)
downloadlombok-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.java7
-rw-r--r--src/core/lombok/javac/apt/Processor.java4
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.
*/