FULL PRODUCT VERSION :
java version "1.6.0-rc"
Java(TM) SE Runtime Environment (build 1.6.0-rc-b98)
Java HotSpot(TM) Client VM (build 1.6.0-rc-b98, mixed mode, sharing)
ADDITIONAL OS VERSION INFORMATION :
Linux cehost 22.214.171.124-4-default #1 Wed May 3 04:53:23 UTC 2006 i686 i686 i386 GNU/Linux
EXTRA RELEVANT SYSTEM CONFIGURATION :
OpenSuse-10.1 with some updates
FireFox2 Beta2 / FireFix1.5.4
A DESCRIPTION OF THE PROBLEM :
If an applet throws an Exception during initialization, FireFox freezes after about 10s.
Then firefox-bin consumes 99% CPU and does no more respond to user input, however the applet itself as well as the java-console are working fine.
I used FireFox2 Beta2, but saw this problem with earlier Mustang builds and FireFox15 too.
If I change back to java-5_03 everthing works as expected, the exception is shown in the java-console and the applet as a red-cross.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1.) Load the applet from http://web460.server3.webplus24.de/deadlock.html
2.) Wait 10s till firefox locks up
EXPECTED VERSUS ACTUAL BEHAVIOR :
the plugin should (of course) fail to load the applet, but should not deadlock mozilla.
the java-plugin deadlocks mozilla.
This bug can be reproduced always.
---------- BEGIN SOURCE ----------
the test applet simply throws an RuntimeException in its constructor.
---------- END SOURCE ----------