diff -r 6349700ff160 autoupdate.services/src/org/netbeans/modules/autoupdate/services/Utilities.java --- a/autoupdate.services/src/org/netbeans/modules/autoupdate/services/Utilities.java Tue Mar 04 11:28:09 2008 +0100 +++ b/autoupdate.services/src/org/netbeans/modules/autoupdate/services/Utilities.java Wed Mar 05 14:36:21 2008 +0100 @@ -41,6 +41,7 @@ package org.netbeans.modules.autoupdate.services; +import java.io.BufferedInputStream; import java.text.ParseException; import java.util.jar.JarEntry; import org.netbeans.modules.autoupdate.updateprovider.UpdateItemImpl; @@ -878,7 +879,7 @@ public class Utilities { Document document = null; InputStream is; try { - is = new FileInputStream (moduleUpdateTracking); + is = new BufferedInputStream(new FileInputStream (moduleUpdateTracking)); InputSource xmlInputSource = new InputSource (is); document = XMLUtil.parse (xmlInputSource, false, false, null, org.openide.xml.EntityCatalog.getDefault ()); if (is != null) {