diff options
author | Roel Spilker <r.spilker@gmail.com> | 2018-01-09 12:58:54 +0100 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2018-01-09 12:58:54 +0100 |
commit | 4ac941acca350b889ae6ccd6f455c992a5e49dce (patch) | |
tree | 4653a8bf579d1ad670aece25adccd2e61341f08b /src | |
parent | 87a946f7ee3963feccb9f084e74a08c9eda65ff0 (diff) | |
download | lombok-4ac941acca350b889ae6ccd6f455c992a5e49dce.tar.gz lombok-4ac941acca350b889ae6ccd6f455c992a5e49dce.tar.bz2 lombok-4ac941acca350b889ae6ccd6f455c992a5e49dce.zip |
Potential fix for #1555
Diffstat (limited to 'src')
-rw-r--r-- | src/core/lombok/javac/apt/LombokFileObjects.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/lombok/javac/apt/LombokFileObjects.java b/src/core/lombok/javac/apt/LombokFileObjects.java index ef735730..7184629f 100644 --- a/src/core/lombok/javac/apt/LombokFileObjects.java +++ b/src/core/lombok/javac/apt/LombokFileObjects.java @@ -120,23 +120,23 @@ final class LombokFileObjects { return new Java9Compiler(jfm); } } - catch (Exception e) {} + catch (Throwable e) {} return Compiler.JAVAC7; } if (KNOWN_JAVA9_FILE_MANAGERS.contains(jfmClassName)) { try { return new Java9Compiler(jfm); } - catch (Exception e) {} + catch (Throwable e) {} } try { if (Class.forName("com.sun.tools.javac.file.BaseFileObject") == null) throw new NullPointerException(); return Compiler.JAVAC7; - } catch (Exception e) {} + } catch (Throwable e) {} try { if (Class.forName("com.sun.tools.javac.util.BaseFileObject") == null) throw new NullPointerException(); return Compiler.JAVAC6; - } catch (Exception e) {} + } catch (Throwable e) {} StringBuilder sb = new StringBuilder(jfmClassName); if (jfm != null) { |