diff --git a/0001-when-the-source-tree-contains-a-compilation-error-it.patch b/0001-when-the-source-tree-contains-a-compilation-error-it.patch deleted file mode 100644 index 8fea497..0000000 --- a/0001-when-the-source-tree-contains-a-compilation-error-it.patch +++ /dev/null @@ -1,42 +0,0 @@ -From 72d8ad1ce5d8dc6f301b6acc7602fbba3a0299dc Mon Sep 17 00:00:00 2001 -From: Kohsuke Kawaguchi -Date: Wed, 27 Mar 2013 16:22:24 -0700 -Subject: [PATCH] when the source tree contains a compilation error, it could - end up here. - -I observed that when there's a compilation error where a constructor has unresolvable annotation like the following, then that ends up in here, masking the root problem. - -class Foo { - @ThereIsNoSuchAnnotation - public Foo() { ... } -} ---- - .../org/jvnet/hudson/annotation_indexer/AnnotationProcessorImpl.java | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/src/main/java/org/jvnet/hudson/annotation_indexer/AnnotationProcessorImpl.java b/src/main/java/org/jvnet/hudson/annotation_indexer/AnnotationProcessorImpl.java -index 0d64636..ec46fd8 100644 ---- a/src/main/java/org/jvnet/hudson/annotation_indexer/AnnotationProcessorImpl.java -+++ b/src/main/java/org/jvnet/hudson/annotation_indexer/AnnotationProcessorImpl.java -@@ -82,7 +82,8 @@ public class AnnotationProcessorImpl extends AbstractProcessor { - t = (TypeElement) elt.getEnclosingElement(); - break; - default: -- throw new AssertionError(elt.getKind()); -+// throw new AssertionError(elt.getKind()); -+ return; - } - classes.add(getElementUtils().getBinaryName(t).toString()); - } -@@ -138,7 +139,7 @@ public class AnnotationProcessorImpl extends AbstractProcessor { - - @Override - public boolean process(Set annotations, RoundEnvironment roundEnv) { -- if (roundEnv.processingOver()) -+ if (roundEnv.processingOver() || roundEnv.errorRaised()) - return false; - - // map from indexable annotation names, to actual uses --- -1.8.3.1 -