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.
This bug was originally marked as duplicate of bug 218248, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.3 (Build 201302132200) VM: OpenJDK 64-Bit Server VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_27-b27 OS: Linux Maximum slowness yet reported was 52532 ms, average is 52532
Created attachment 132592 [details] nps snapshot
Created attachment 140437 [details] Proposed Patch
The problem is that org.openide.text.DataEditorSupport.messageHtmlName performs some I/O in EDT. Unfortunately, this method has to be blocking, and has to be called in EDT. I've prepared a patch that uses the last computed (or default) data to compute the result, and then checks (in background) that the result was correct. If the result was incorrect, it updates titles of the editor tabs. I'm not sure that the messageHtmlName method is used only to get editor tab titles. If there is some other place that calls this method, and that is not updated by CloneableEditorSupport.updateTitles, the patch is wrong. Reassigning to platform/Text. Mila, please evaluate the bug. Thank you.
*** Bug 239108 has been marked as a duplicate of this bug. ***
*** Bug 251099 has been marked as a duplicate of this bug. ***