JDK-6888908 : Regression : Applet fails to respond to further Java > JS calls once JSException is raised
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u16-rev,6u18
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows,windows_vista,windows_7
  • CPU: generic,x86
  • Submitted: 2009-10-07
  • Updated: 2010-12-06
  • Resolved: 2009-12-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7
6u17-revFixed 7Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
If an applet while doing any Java > JS communication raises an  netscape.javascript.JSException then further Java > JS communication is not possible. 
This behavior is not reprodcucible with earlier releases i.e. everything is working fine till 6u17.

Steps to reproduce:
1)Install 6u18 PIT build-03
2) Load the following applet inside the Browser http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/popupblocker/PopUpBlockerJSNegative.html
3) Click on the  button "open new window". This should raise an netscape.javascript.JSException
4) Now try to click on the button "Do Something else" or try clicking again on  "open new window". If actions fails to respond then bug is reproduced

Comments
EVALUATION Problem: the fix for 6809648 didn't take JS exception into account. If a JS exception occurs during the first call, it thinks that there's still a JS call on stack and forbids the subsequent calls. Fix: perform decrementActiveJSCounter() in a finally block.
09-10-2009

EVALUATION This regression is caused by the fix for 6809648 (JSObject.eval() gets blocked by modal JDialog).
07-10-2009

EVALUATION Stack trace with IE3 and FF3 browser http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/popupblocker/FF3stack.txt http://sqeweb.sfbay.sun.com/deployment2/jitu/plug-bug/popupblocker/stack.txt
07-10-2009

EVALUATION need to fix for 6u18 b04.
07-10-2009