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 42666

Summary: Do not force creation and retention of FileObject's for every hyperlink
Product: projects Reporter: Jesse Glick <jglick>
Component: AntAssignee: Jesse Glick <jglick>
Severity: blocker CC: pnejedly
Priority: P2 Keywords: API, PERFORMANCE
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: The patch

Description Jesse Glick 2004-04-30 23:51:48 UTC
Currently Ant hyperlink parsing not only creates a
FileObject for every hyperlink, but retains a
reference to that FileObject for as long as the
output is displayed. This is wasteful, since the
FileObject may never be needed; only if the link
is clicked.

Should change AntOutputStream to not force
creation of the hyperlink; and to keep only a URL
or File internally, until the link is actually

Should be compatible for existing AOS subclasses
(though there aren't any).
Comment 1 Jesse Glick 2004-05-01 00:31:32 UTC
Created attachment 14653 [details]
The patch
Comment 2 Jesse Glick 2004-05-01 16:11:55 UTC
Was I think the same situation in 3.6.

committed   * Up-To-Date  1.68        ant/
committed   * Up-To-Date  1.11        ant/api/doc/changes/apichanges.xml
committed   * Up-To-Date  1.9        
committed   * Up-To-Date  1.19       
committed   * Up-To-Date  1.6        
Comment 3 Jaromir Uhrik 2005-07-14 16:20:41 UTC