From 3619f889f5088ccb08245c2c3d7bc6e4459337d5 Mon Sep 17 00:00:00 2001 From: Roel Spilker Date: Mon, 5 Aug 2013 22:07:45 +0200 Subject: To quote Reinier paraphrasing the compiler: "If the loading doesn't work, I don't want it!" --- src/utils/lombok/javac/Javac.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/utils') 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; } -- cgit