diff options
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java b/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java index 2c845e0019..a1c4b6bbb5 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java +++ b/bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java @@ -107,18 +107,18 @@ static boolean extract (String fileName, String mappedName) { if (!Platform.PLATFORM.equals ("win32")) { //$NON-NLS-1$ try { Runtime.getRuntime ().exec (new String []{"chmod", "755", fileName}).waitFor(); //$NON-NLS-1$ //$NON-NLS-2$ - } catch (Throwable e4) {} + } catch (Throwable e) {} } if (load (fileName)) return true; } } - } catch (Throwable e4) { + } catch (Throwable e) { try { if (os != null) os.close (); - } catch (IOException e) {} + } catch (IOException e1) {} try { if (is != null) is.close (); - } catch (IOException e) {} + } catch (IOException e1) {} } if (file.exists ()) file.delete (); return false; @@ -132,7 +132,7 @@ static boolean load (String libName) { System.loadLibrary (libName); } return true; - } catch (UnsatisfiedLinkError e3) {} + } catch (UnsatisfiedLinkError e) {} return false; } |