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.
org.netbeans.modules.web.debug.util.Utils.getFileObjectFromUrl() that is often called from property change listeners translates URL to File and than File -> FO. It should be easier to employ URLMapper for this purpose. It can be more efficient and we can maintain only one piece of code. Also the normalization performed in URL->File conversion is not fast and we should avoid it.
http://web.netbeans.org/source/browse/web/jspdebug/src/org/netbeans/modules/web/debug/actions/JspToggleBreakpointActionProvider.java?r1=1.10&r2=1.11 makes it even worse. we will do the conversion several times in this action provider.
Fixed. Checking in util/Utils.java; /cvs/web/jspdebug/src/org/netbeans/modules/web/debug/util/Utils.java,v <-- Utils.java new revision: 1.34; previous revision: 1.33 done Checking in actions/JspToggleBreakpointActionProvider.java; /cvs/web/jspdebug/src/org/netbeans/modules/web/debug/actions/JspToggleBreakpointActionProvider.java,v <-- JspToggleBreakpointActionProvider.java new revision: 1.12; previous revision: 1.11 done
Seems to be fixed.