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.
After creating a new class and typing "extends MySuperClass" and saving, the synchronization dialog popped up. When it did I selected the option to process all, netbeans proceeded to hang. I'll attach a thread dump.
Created attachment 13557 [details] dump after freeze
John, I am sorry, but your thread-dump is unreadable, I have seen whole stack trace on one line, please attach thread-dump again with appropriate text wrapping. By the way another information we need too, like JDK, IDE build number, ...... If you'll attach new infromations REOPEN, thanks in advance.
Oops. NetBeans build: dev 20040219 JDK: Java HotSpot(TM) Client VM (1.4.2_01-b06 mixed mode)
Created attachment 13558 [details] original dump.txt with newlines preserved
It doesn't always reproduce, but seems to happen more frequently with a base class with a bunch of abstract methods.
Thanks a lot
It is likely a java module's problem as all the involved threads deal with java-related operation but I did not examine the details. Reassigning to java module.
Yes, it is a java stuff. The code-sync support calls ClassElement.forName under a document write lock which is required later in the parser thread too.
Please try to reproduce it with the latest developer build. There were made changes in threading model. It could also help if you can provide your sources on which you can reproduce this.
*** Issue 40749 has been marked as a duplicate of this issue. ***
Tome, could you review the fix so I can ask for integration to releas36? Fixed in trunk: http://www.netbeans.org/source/browse/java/src/org/netbeans/modules/java/codesync/ClassDependencyImpl.java.diff?r1=1.30&r2=1.31&f=u http://www.netbeans.org/source/browse/java/src/org/netbeans/modules/java/tools/InheritanceSupport2.java.diff?r1=1.1&r2=1.2&f=u
I looked at the diffs and I think that the fix is correct.
Thanks. I notified reviewers@netbeans.org
No objection -> merged to release36 /cvs/java/src/org/netbeans/modules/java/tools/InheritanceSupport2.java,v1.1.20.1 /cvs/java/src/org/netbeans/modules/java/codesync/ClassDependencyImpl.java,v1.30.16.1
Verified