United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-7179391 : "getprintjob" hangs in old plugin

Details
Type:
Bug
Submit Date:
2012-06-25
Status:
Closed
Updated Date:
2013-12-06
Project Name:
JDK
Resolved Date:
2012-07-04
Component:
deploy
OS:
generic
Sub-Component:
plugin
CPU:
generic
Priority:
P2
Resolution:
Fixed
Affected Versions:
6u31
Fixed Versions:

Related Reports
Backport:
Backport:
Backport:
Backport:
Backport:
Backport:

Sub Tasks

Description
SHORT SUMMARY:

IE hangs after closing modal native dialog box

INDICATORS:

IE window is totally unresponsive once modal native dialog box is closed

COUNTER INDICATORS:

Non IE browsers
Non native dialog
Non modal dialog

TRIGGERS:

Applet calls a modal native dialog (i.e. file open dialog or print dialog)

KNOWN WORKAROUND:

No reasonable workaround known

PRESENT SINCE:

JDK 6u21

HOW TO VERIFY:

Run the test associated with the bug in bugdb

NOTES FOR SE:

NONE

REGRESSION:

Yes

                                    

Comments
EVALUATION

In the fix for cr6883952, we changed sun.plugin.viewer.frame.IExplorerEmbeddedFrame so that instead of using it's super class's implementation of notifyModalBlocked(), it got its own JNI code to install Windows hooks to block messages to the parent window of a modal dialog. The only problem is we forgot to include native dialogs ("print" dialog or "open file" dialog) in the code path for unblocking the parent window (a modal dialog is dismissed and we need to remove the hooks we had installed).

This fix makes us use the same code path for unblocking the parent window regardless of if the dialog was an OS-provided native component or one of our own Java components.
                                     
2012-06-25
Old Plug-in has been removed from jdk8
                                     
2013-12-06



Hardware and Software, Engineered to Work Together