JSObject.eval() do not return when JDialog is opened.
Java version: jdk 6u12 build02 or later with new generation plugin enabled.
browser: Firefox 3.0.6, IE6, IE7 (not reproducible on Firefox 2.0)
1. open attached TestApplet.html file in a web browser(it will run attached TestApplet.java).
on jdk 6u12b01 or earlier (with new plugin enabled) (i.e. before a fix for 6764266)
on jdk 6u12b02 or later (with new plugin enabled) (i.e. after a fix for 6764266)
JDialog.setVisible(false) doesn't get called and JDialog window doesn't close.
Test case passes if an old generation plugin is enabled.
Attached is also original Oracle test case - OracleTestApplet.
gets frozen. This is obviously because invisible (undecorated) modal JDialog
is still active.
running in a separate thread:
"We had introduced this mechanism of setting a invisible JDialog to true
in our Forms code to fix another complex issue - bug 6802701. The problem
block the Forms client applet. If the applet is blocked beyond a certain
time, then the Forms server thinks that the client is already dead and thus
exits. To resolve this issue, we introduced the mechanism of running the
invisible JDialog. The advantage that we have here is that the state of Forms
at the same time keep the Forms client alive."