diff options
author | Roel Spilker <r.spilker@gmail.com> | 2018-04-10 00:41:55 +0200 |
---|---|---|
committer | Roel Spilker <r.spilker@gmail.com> | 2018-04-10 00:44:57 +0200 |
commit | f4bc0323dca86fb5559e753ef9f05af5672d27ef (patch) | |
tree | 7bcb209ae095cfac4441986602d3a4ab48f07c49 /src/eclipseAgent/lombok/launch | |
parent | 8614edfd85ad6fc65598d1d13a370d7562ad57db (diff) | |
download | lombok-f4bc0323dca86fb5559e753ef9f05af5672d27ef.tar.gz lombok-f4bc0323dca86fb5559e753ef9f05af5672d27ef.tar.bz2 lombok-f4bc0323dca86fb5559e753ef9f05af5672d27ef.zip |
Potential fix for #1604
Diffstat (limited to 'src/eclipseAgent/lombok/launch')
-rw-r--r-- | src/eclipseAgent/lombok/launch/PatchFixesHider.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/eclipseAgent/lombok/launch/PatchFixesHider.java b/src/eclipseAgent/lombok/launch/PatchFixesHider.java index b1d73352..317b06a4 100644 --- a/src/eclipseAgent/lombok/launch/PatchFixesHider.java +++ b/src/eclipseAgent/lombok/launch/PatchFixesHider.java @@ -148,7 +148,11 @@ final class PatchFixesHider { } public static String addLombokNotesToEclipseAboutDialog(String origReturnValue, String key) { - return (String) Util.invokeMethod(LombokDeps.ADD_LOMBOK_NOTES, origReturnValue, key); + try { + return (String) Util.invokeMethod(LombokDeps.ADD_LOMBOK_NOTES, origReturnValue, key); + } catch (Throwable t) { + return origReturnValue; + } } public static byte[] runPostCompiler(byte[] bytes, String fileName) { |