diff options
author | Silenio Quarti | 2006-11-30 21:36:56 +0000 |
---|---|---|
committer | Silenio Quarti | 2006-11-30 21:36:56 +0000 |
commit | bce0df28d35b7b32c421f8fa33ca6858c8dcd96e (patch) | |
tree | 49c15bbfa86a42196a7e2d19273c23ec7004507f /bundles/org.eclipse.swt | |
parent | 00581def820ad3079e02cd5ae45793b53edac5ec (diff) | |
download | eclipse.platform.swt-bce0df28d35b7b32c421f8fa33ca6858c8dcd96e.tar.gz eclipse.platform.swt-bce0df28d35b7b32c421f8fa33ca6858c8dcd96e.tar.xz eclipse.platform.swt-bce0df28d35b7b32c421f8fa33ca6858c8dcd96e.zip |
*** empty log message ***
Diffstat (limited to 'bundles/org.eclipse.swt')
-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; } |