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.
Created attachment 104723 [details] threaddump Product Version: NetBeans IDE Dev (Build 201101050001) Java: 1.7.0-ea; Java HotSpot(TM) Client VM 20.0-b03 System: Windows 7 version 6.1 running on x86; Cp1252; en_US (nb) Userdir: C:\Users\tester\.netbeans\dev ---------------- - had sample project - added new testroot - created junit test in this new testroot - file was red badged, there was a hint to correct package declaration -> confirmed to change package decl. --> lockup thread dump attached
got lockup again, this time after "implement all abstract methods".
Similar to #192548: the implementation of Component.repaint in JDK recently changed in such a way that it cannot be called outside AWT event dispatch thread. AFAIK we were simply moving the repaints to AWT. Adding Mila on CC to check that it is OK for the FoldHierarchy to fire the changes outside AWT.
I'll move the call inside AWT, then. Thanks Honza for explaining.
fix: #69ceb559b63a - http://hg.netbeans.org/core-main/rev/ceb2093c7aca
Integrated into 'main-golden', will be available in build *201101060001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/ceb2093c7aca User: Ondrej Vrabec <ovrabec@netbeans.org> Log: Issue #194045 - Ide lockup after hint "change package declaration"
*** Bug 193899 has been marked as a duplicate of this bug. ***