JDK-7179391 : "getprintjob" hangs in old plugin
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 6u31
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2012-06-25
  • Updated: 2014-11-19
  • Resolved: 2012-07-04
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 JDK 8
6u33Fixed 7u6Fixed 8 b46Fixed
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
Old Plug-in has been removed from jdk8
06-12-2013

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.
25-06-2012