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

Summary: ClassPath should not attach fileChangeListeners until a listener on CP is added
Product: java Reporter: Tomas Zezula <tzezula>
Component: ClasspathAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal Keywords: PLAN
Priority: P3    
Version: 7.2   
Hardware: PC   
OS: Mac OS X   
Issue Type: TASK Exception Reporter:

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