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 66361

Summary: Cache results of FileObject -> File conversion
Product: platform Reporter: _ rkubacki <rkubacki>
Component: FilesystemsAssignee: Jiri Skrivanek <jskrivanek>
Status: RESOLVED FIXED    
Severity: blocker CC: cezariusz, issues
Priority: P2 Keywords: PERFORMANCE
Version: 5.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 65135    

Description _ rkubacki 2005-10-10 10:47:58 UTC
FileUtil.toFile (FileObject) is a utility method performing conversion from FO
to File and is used heavily in the IDE even during typing in editor - geting
platform classpath for Java parsing, UpdateTrackingFileOwnerQuery, checking for
write access, CVS annotations

These conversions boils down to File.isDirectory and thus access I/O devices.
This is a big problem for slow devices or notebook running in power saving mode.
Comment 1 Antonin Nebuzelsky 2008-04-15 17:12:35 UTC
Reassigning to new module owner jskrivanek.
Comment 2 Jiri Skrivanek 2009-03-17 14:09:18 UTC
It has already been fixed.