JDK-8145177 : Reload applet in frame is too long and UI controls outside frame hangs
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 8u65
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2015-11-13
  • Updated: 2016-03-09
  • Resolved: 2016-03-01
Related Reports
Duplicate :  
Description
FULL PRODUCT VERSION :
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode, sharing)

ADDITIONAL OS VERSION INFORMATION :
Microsoft Windows [Version 6.1.7601]

A DESCRIPTION OF THE PROBLEM :
If applet is located in frame and top window tries to perform frame reload - reload takes very long time to complete and UI in top window is blocked (e.g. UI can "freeze" when some animation is performing etc.).

REGRESSION.  Last worked in version 8u45

ADDITIONAL REGRESSION INFORMATION: 
Regression in 1.7.05 (however in Java 8u45 it worked ok as well, AFAIK).

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
1. Create 2 pages:

index.html 

<html>
<body>
<button onclick="document.getElementById('statusquo').contentWindow.location.reload(false)">Refresh frame!</button>
<IFRAME id=statusquo height=25 src="myframe.html" frameBorder=0 width="100%" name=statusquo scrolling=no></IFRAME>
</body>
</html>

framecontent.html

<html>
<body>
Applet goes here
<applet name="ScanLocalAreaHandlerApplet" width="1" height="1" codebase="..." code="..." mayscript="">
</applet>
</body>
</html>

2. Open index.html in IE
3. Press the button

EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
Reload takes very little time to perform.
Button looks like it's "pressed" only for a little time.
ACTUAL -
Reload takes about minute to complete.
Button looks like it's "pressed" during all this time.

REPRODUCIBILITY :
This bug can be reproduced always.


Comments
We haven't received any further update from the submitter. However, the issue is a duplicate of JDK-8136759 which has resolved fix listed for 8u66. Therefore closing this as duplicate.
01-03-2016