diff options
Diffstat (limited to 'bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/WebStartMain.java')
-rw-r--r-- | bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/WebStartMain.java | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/WebStartMain.java b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/WebStartMain.java index 703c18e74..0ac4a62d9 100644 --- a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/WebStartMain.java +++ b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/WebStartMain.java @@ -236,14 +236,11 @@ public class WebStartMain extends Main { try { nameField.setAccessible(true); return (String) nameField.get(jarFile); - } catch (SecurityException e) { + } catch (SecurityException | IllegalArgumentException | IllegalAccessException e) { // Don't have permissions, ignore - } catch (IllegalArgumentException e) { - // Shouldn't happen - } catch (IllegalAccessException e) { + // or // Shouldn't happen } - return null; } |