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.
When evaluating issue 40558 I've noticed the following line 1102 in CloneableEditorSupport: int textLength = panes[i].getText().length(); This is highly inefficient as it writes the whole content of the document into a Writer and then to the String. The change was introduced by Peter Z. in 1.72 when fixing issue 26407. The simplest fix could be "getText" -> "getDocument()". Assigning P2 as this is IMHO an easily fixable perf issue.
Highly inefficient but called only from reload -> low impact. Anyway, going to fix this.
Fixed. openide/src/org/openide/text/CloneableEditorSupport.java,v1.117
Mila, could you please verify ? thanks.
Verified.