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 206058 - ClassPath should not attach fileChangeListeners until a listener on CP is added
Summary: ClassPath should not attach fileChangeListeners until a listener on CP is added
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Classpath (show other bugs)
Version: 7.2
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: PLAN
Depends on:
Blocks:
 
Reported: 2011-12-07 09:28 UTC by Tomas Zezula
Modified: 2012-03-19 13:57 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2011-12-07 09:28:26 UTC
From snapshots it seems that the FileUtil.addFileChangeListener is an expensive call. Consider not to add the listeners if no listener is added to CP.
Comment 1 Tomas Zezula 2012-03-19 13:57:35 UTC
Fixed jet-main 0e26d5802802