diff options
author | cnuessgens <christian@nuessgens.com> | 2018-01-18 21:18:14 +0100 |
---|---|---|
committer | cnuessgens <christian@nuessgens.com> | 2018-01-18 21:18:14 +0100 |
commit | 1b6de01bf187def687cb0e757da4295b0790f0ac (patch) | |
tree | f86c0951a8669fb67689a92fd9059df7589d17da /src/core/lombok/javac/apt/LombokFileObjects.java | |
parent | cdee2996514723dfbcf6ac177d82446acef260f3 (diff) | |
parent | 01754d914056b3baa0a6bfe3b20bf5c40f6a5199 (diff) | |
download | lombok-1b6de01bf187def687cb0e757da4295b0790f0ac.tar.gz lombok-1b6de01bf187def687cb0e757da4295b0790f0ac.tar.bz2 lombok-1b6de01bf187def687cb0e757da4295b0790f0ac.zip |
Merge remote-tracking branch 'remotes/upstream/master'
Diffstat (limited to 'src/core/lombok/javac/apt/LombokFileObjects.java')
-rw-r--r-- | src/core/lombok/javac/apt/LombokFileObjects.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/lombok/javac/apt/LombokFileObjects.java b/src/core/lombok/javac/apt/LombokFileObjects.java index 37a0b366..7184629f 100644 --- a/src/core/lombok/javac/apt/LombokFileObjects.java +++ b/src/core/lombok/javac/apt/LombokFileObjects.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010-2017 The Project Lombok Authors. + * Copyright (C) 2010-2018 The Project Lombok Authors. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -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) { |