aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2013-08-05 22:07:45 +0200
committerRoel Spilker <r.spilker@gmail.com>2013-08-05 22:07:45 +0200
commit3619f889f5088ccb08245c2c3d7bc6e4459337d5 (patch)
treeace139b9d9455ae73843ba451378e039418db979 /src/utils
parentd0d2dd6f5d1b9bd33e9e127f8d66b3387f487271 (diff)
downloadlombok-3619f889f5088ccb08245c2c3d7bc6e4459337d5.tar.gz
lombok-3619f889f5088ccb08245c2c3d7bc6e4459337d5.tar.bz2
lombok-3619f889f5088ccb08245c2c3d7bc6e4459337d5.zip
To quote Reinier paraphrasing the compiler: "If the loading doesn't work, I don't want it!"
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/lombok/javac/Javac.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/utils/lombok/javac/Javac.java b/src/utils/lombok/javac/Javac.java
index 014007d4..c90b8611 100644
--- a/src/utils/lombok/javac/Javac.java
+++ b/src/utils/lombok/javac/Javac.java
@@ -213,12 +213,12 @@ public class Javac {
Class<?> c = null;
try {
c = Class.forName("com.sun.tools.javac.code.Type$JCVoidType");
- } catch (Exception ignore) {}
+ } catch (Throwable ignore) {}
JC_VOID_TYPE = c;
c = null;
try {
c = Class.forName("com.sun.tools.javac.code.Type$JCNoType");
- } catch (Exception ignore) {}
+ } catch (Throwable ignore) {}
JC_NO_TYPE = c;
}