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 56660 Details for
Bug 160748
ConfigurationParser.parse does unbuferred I/O from disk
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
Terms of Use
|
Copyright Agent
[patch]
patch for update.configurator
update.patch.txt (text/plain), 1.77 KB, created by
DJ Houghton
on 2007-01-09 15:40:16 EST
(
hide
)
Description:
patch for update.configurator
Filename:
MIME Type:
Creator:
DJ Houghton
Created:
2007-01-09 15:40:16 EST
Size:
1.77 KB
patch
obsolete
>### Eclipse Workspace Patch 1.0 >#P org.eclipse.update.configurator >Index: src/org/eclipse/update/internal/configurator/FeatureParser.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/FeatureParser.java,v >retrieving revision 1.16 >diff -u -r1.16 FeatureParser.java >--- src/org/eclipse/update/internal/configurator/FeatureParser.java 25 May 2005 15:23:46 -0000 1.16 >+++ src/org/eclipse/update/internal/configurator/FeatureParser.java 9 Jan 2007 20:31:13 -0000 >@@ -58,7 +58,7 @@ > try { > this.url = featureURL; > in = featureURL.openStream(); >- parser.parse(new InputSource(in), this); >+ parser.parse(new InputSource(new BufferedInputStream(in)), this); > } catch (SAXException e) { > } catch (IOException e) { > } finally { >Index: src/org/eclipse/update/internal/configurator/ConfigurationParser.java >=================================================================== >RCS file: /cvsroot/eclipse/org.eclipse.update.configurator/src/org/eclipse/update/internal/configurator/ConfigurationParser.java,v >retrieving revision 1.27.2.1 >diff -u -r1.27.2.1 ConfigurationParser.java >--- src/org/eclipse/update/internal/configurator/ConfigurationParser.java 15 Sep 2006 05:52:05 -0000 1.27.2.1 >+++ src/org/eclipse/update/internal/configurator/ConfigurationParser.java 9 Jan 2007 20:31:13 -0000 >@@ -71,7 +71,7 @@ > input = new FileInputStream(inputFile); > } else > input = url.openStream(); >- parser.parse(new InputSource(input), this); >+ parser.parse(new InputSource(new BufferedInputStream(input)), this); > return config; > } catch (Exception e) { > Utils.log(Utils.newStatus("ConfigurationParser.parse() error:", e)); //$NON-NLS-1$
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 160748
:
54828
|
56660
|
56712