aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/eclipse
diff options
context:
space:
mode:
authorReinier Zwitserloot <reinier@tipit.to>2009-10-03 17:04:15 +0200
committerReinier Zwitserloot <reinier@tipit.to>2009-10-03 17:04:15 +0200
commit912cef7c3600317285d2a7847f06f021aef142d9 (patch)
tree9633925d715812942db8671ff4799f661d7d78e6 /src/lombok/eclipse
parentdba1a7c64f9c56efcbbb7cf01be4e25938fed69b (diff)
parent0ae11ce404c8ed583c4e4cf217fca4f101fbb078 (diff)
downloadlombok-912cef7c3600317285d2a7847f06f021aef142d9.tar.gz
lombok-912cef7c3600317285d2a7847f06f021aef142d9.tar.bz2
lombok-912cef7c3600317285d2a7847f06f021aef142d9.zip
Merge branch 'master' of git@github.com:rzwitserloot/lombok into lombokpatcher
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 b975dc3e..691327b1 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;