Download
Getting Started
Members
Projects
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
More
Community
Marketplace
Events
Planet Eclipse
Newsletter
Videos
Participate
Report a Bug
Forums
Mailing Lists
Wiki
IRC
How to Contribute
Working Groups
Automotive
Internet of Things
LocationTech
Long-Term Support
PolarSys
Science
OpenMDM
Toggle navigation
Bugzilla – Attachment 68988 Details for
Bug 189547
Possible resource leak in org.eclipse.jdt.internal.compiler.parser.Parser
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
Proposed fix
patch_189547.txt (text/plain), 1.15 KB, created by
Olivier Thomann
on 2007-05-28 22:28:31 EDT
(
hide
)
Description:
Proposed fix
Filename:
MIME Type:
Creator:
Olivier Thomann
Created:
2007-05-28 22:28:31 EDT
Size:
1.15 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.jdt.core >Index: compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java,v >retrieving revision 1.371 >diff -u -r1.371 Parser.java >--- compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java 25 Apr 2007 16:59:23 -0000 1.371 >+++ compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java 29 May 2007 02:27:55 -0000 >@@ -443,10 +443,12 @@ > stream = new java.io.FileOutputStream(filename); > stream.write(bytes); > } catch(IOException e) { >+ // ignore >+ } finally { > if (stream != null) { > try { > stream.close(); >- } catch (IOException e1) { >+ } catch (IOException e) { > // ignore > } > } >@@ -465,10 +467,12 @@ > stream = new java.io.FileOutputStream(filename); > stream.write(bytes); > } catch(IOException e) { >+ // ignore >+ } finally { > if (stream != null) { > try { > stream.close(); >- } catch (IOException e1) { >+ } catch (IOException e) { > // ignore > } > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 189547
:
68985
| 68988