aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/eclipse
diff options
context:
space:
mode:
Diffstat (limited to 'src/lombok/eclipse')
-rw-r--r--src/lombok/eclipse/TransformEclipseAST.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/lombok/eclipse/TransformEclipseAST.java b/src/lombok/eclipse/TransformEclipseAST.java
index 365b65a2..3caddb18 100644
--- a/src/lombok/eclipse/TransformEclipseAST.java
+++ b/src/lombok/eclipse/TransformEclipseAST.java
@@ -65,7 +65,12 @@ public class TransformEclipseAST {
l = HandlerLibrary.load();
f = CompilationUnitDeclaration.class.getDeclaredField("$lombokAST");
} catch ( Throwable t ) {
- Eclipse.error(null, "Problem initializing lombok", t);
+ try {
+ Eclipse.error(null, "Problem initializing lombok", t);
+ } catch ( Throwable t2) {
+ System.err.println("Problem initializing lombok");
+ t.printStackTrace();
+ }
disableLombok = true;
}
astCacheField = f;