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 - Cache results of FileObject -> File conversion
Summary: Cache results of FileObject -> File conversion
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Jiri Skrivanek
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 65135
  Show dependency tree
 
Reported: 2005-10-10 10:47 UTC by _ rkubacki
Modified: 2009-03-17 14:09 UTC (History)
2 users (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.