Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJay Arthanareeswaran2015-09-28 14:58:22 +0000
committerJay Arthanareeswaran2015-09-28 14:58:22 +0000
commit40aba6682d4eea8f15f9ae037123e7cedc4a4ef3 (patch)
tree5d253974f24e1f068e93983d0a7178df3f71a5a8 /org.eclipse.jdt.apt.pluggable.core
parent7054404d86f8354c8460ac79576bdc4596325207 (diff)
downloadeclipse.jdt.core-40aba6682d4eea8f15f9ae037123e7cedc4a4ef3.tar.gz
eclipse.jdt.core-40aba6682d4eea8f15f9ae037123e7cedc4a4ef3.tar.xz
eclipse.jdt.core-40aba6682d4eea8f15f9ae037123e7cedc4a4ef3.zip
Bug 478225 - JDT APT doesn't deal gracefully with 'broken' annotation
processors
Diffstat (limited to 'org.eclipse.jdt.apt.pluggable.core')
-rw-r--r--org.eclipse.jdt.apt.pluggable.core/src/org/eclipse/jdt/internal/apt/pluggable/core/dispatch/IdeAnnotationProcessorManager.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/org.eclipse.jdt.apt.pluggable.core/src/org/eclipse/jdt/internal/apt/pluggable/core/dispatch/IdeAnnotationProcessorManager.java b/org.eclipse.jdt.apt.pluggable.core/src/org/eclipse/jdt/internal/apt/pluggable/core/dispatch/IdeAnnotationProcessorManager.java
index a640b71ae8..12cfc0c66e 100644
--- a/org.eclipse.jdt.apt.pluggable.core/src/org/eclipse/jdt/internal/apt/pluggable/core/dispatch/IdeAnnotationProcessorManager.java
+++ b/org.eclipse.jdt.apt.pluggable.core/src/org/eclipse/jdt/internal/apt/pluggable/core/dispatch/IdeAnnotationProcessorManager.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2007 BEA Systems, Inc.
+ * Copyright (c) 2007, 2015 BEA Systems, Inc and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -7,6 +7,7 @@
*
* Contributors:
* wharley@bea.com - initial API and implementation
+ * IBM Corporation - Bug 478427
*
*******************************************************************************/
@@ -97,7 +98,7 @@ public class IdeAnnotationProcessorManager extends BaseAnnotationProcessorManage
}
_processors.add(pi);
return pi;
- } catch (CoreException e) {
+ } catch (CoreException | NoClassDefFoundError e) {
Apt6Plugin.log(e, "Unable to create instance of annotation processor " + entry.getKey()); //$NON-NLS-1$
}
}

Back to the top