This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 129809

Summary: Return buffered streams from LocalFileSystem
Product: platform Reporter: Pavel Flaska <pflaska>
Component: FilesystemsAssignee: Jiri Skrivanek <jskrivanek>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 129286    
Attachments: Suggested patch

Description Pavel Flaska 2008-03-11 17:06:57 UTC
We've found there are some single reads/writes when user obtained streams from file-object. This can be slow on some
filesystems.
Comment 1 Pavel Flaska 2008-03-11 17:11:46 UTC
Created attachment 58172 [details]
Suggested patch
Comment 2 Antonin Nebuzelsky 2008-04-15 17:17:44 UTC
Reassigning to new module owner jskrivanek.
Comment 3 _ tboudreau 2009-03-19 07:36:09 UTC
Simple patch, and this could make a big difference in I/O performance in a lot of places.  Any reason not to just do this?
Comment 4 Jiri Skrivanek 2009-03-19 09:10:29 UTC
Fixed as suggested. Thank you for patch and reminder.

http://hg.netbeans.org/core-main/rev/98be1b85af0f
Comment 5 Quality Engineering 2009-03-21 08:41:20 UTC
Integrated into 'main-golden', will be available in build *200903210201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/98be1b85af0f
User: Jiri Skrivanek <jskrivanek@netbeans.org>
Log: #129809 - Use BufferedOutputStream.