diff options
author | Roel Spilker <r.spilker@gmail.com> | 2013-08-05 22:07:45 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2013-08-05 22:07:45 +0200 |
commit | 3619f889f5088ccb08245c2c3d7bc6e4459337d5 (patch) | |
tree | ace139b9d9455ae73843ba451378e039418db979 /src/utils | |
parent | d0d2dd6f5d1b9bd33e9e127f8d66b3387f487271 (diff) | |
download | lombok-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.java | 4 |
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; } |