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.
Start NetBeans 3.5 on Mac OS X with the following commandline: bin/runide.sh -userdir /tmp/xxx -ui apple.laf.AquaLookAndFeel -fontsize 11 -J-Dapple.laf.useScreeMenubar=true See attachment for thread dump.
Created attachment 9434 [details] thread dump
Dafe, please evaluate it ASAP.
Evaluating in progress..... At first glance it seems that JDK code in JSeparator<init> isn;'t correct, will investigate further.
deadlock seems like a P1 to me
I believe it's caused by JDK 1.4.1 bug, I've entered bug 4833969 in bugtraq. Now it's happening only under Mac OS X, with Aqua look and feel and app's menu on the top of the screen (as Tomas pointed out in first comment.) Unfortunately, this deadlock can potentially occur on any OS, when JSeparator is being constructed while AWT thread has AWTTreeLock locked and waits for task which is creating main menu. Petr Nejedly told me that he is sure this is side effect of the change he made into menu warm up and rollbacking of his change will be our workaround for 4833969 in bugtraq. However, it means that bigger part of menu warm up will run in AWT, which is not nice (but more acceptable then deadlock). Reassigning to Petr.
Fixed in trunk, openide/src/org/openide/awt/MenuBar.java,v1.50
merged into release35 branch
It seems to be OK.
Note: BugTraq #4833969 is closed as not-a-bug, tree lock can be grabbed by anybody in any thread.