JDK-8143205 : long delay in Java startup in Frameset when loaded into frame from link
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 8u66
  • Priority: P3
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_7
  • CPU: x86_64
  • Submitted: 2015-11-16
  • Updated: 2016-03-07
  • Resolved: 2015-11-24
Related Reports
Duplicate :  
Duplicate :  
Relates :  
Description
FULL PRODUCT VERSION :
Java 1.8.0_65-b17
happens in earlier versions as well, started in 1.8.0_600-b27, was OK in 1.8.0_51

ADDITIONAL OS VERSION INFORMATION :
Windows 7 (Microsoft Windows [Version 6.1.7601])
Java 1.8.0_65-b17
Internet Explorer 11 (11.0.9600.18097)

EXTRA RELEVANT SYSTEM CONFIGURATION :
Happens on multiple PCs, on different networks and configurations

A DESCRIPTION OF THE PROBLEM :
In Internet Explorer only, when a frameset is used, and a page containing an applet tag is loaded into one of the frames using a HTML link in another frame after the frameset is loaded, there is a long (30 second) delay in java start up before the applet appears. If the applet tag is used in a frame during the initial load, the problem does not happen. It is only triggers if a page with an applet tag  is loaded into an existing frame using an HTML link, or a javascript load with top.frames[3].location.href = ...

The delay seems to happen before the Java logo appears during startup. The problem does not occur with Firefox.

REGRESSION.  Last worked in version 8u51

ADDITIONAL REGRESSION INFORMATION: 
Java 1.8.0_51

STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
<html>
	<head>
		<title>Acordex viewer - Test</title>	
	    		
	</head>
	<frameset cols="28%,72%" framespacing="0">
		<frameset rows="95%,5%">
			<frame name="left" src="Left.htm" frameborder="0">
			<frame name="Bottom" src="Bottom.htm" frameborder="0">
		</frameset>
		<frameset rows="7%,*">
			<frame name="header" src="top.htm" scrolling="no">
			<frame name="news" src="http://www.acordex.com/">
		</frameset>
	</frameset>	
</html>
----- left.htm -----

<HTML>
	<HEAD>
		<title>Left</title>
        <script language="javascript" type="text/javascript">
            function jsLoadImageViewer() {
                self.top.frames[3].location.href = "image.htm";
            }
        
        </script>
		
	</HEAD>
	<body topmargin="5">
<A href="javascript:jsLoadImageViewer() ;">Test Click Here</A>
</body>
---- image.htm
<body>
<applet codebase=<any applet here>>
</applet>
</body>


EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
After clicking link, Java logo appears, then applet loads normally
ACTUAL -
After clicking link, applet takes 30 seconds before Java logo appears, then loads.

ERROR MESSAGES/STACK TRACES THAT OCCUR :
There is no log output because the time delay is occurring during the plugin startup

REPRODUCIBILITY :
This bug can be reproduced always.

---------- BEGIN SOURCE ----------
Any applet will do, the problem has to do with Java startup, not the applet itself.
---------- END SOURCE ----------

CUSTOMER SUBMITTED WORKAROUND :
Not using frames, or loading the frameset initially with the page containing Java


Comments
Closing this as duplicate of JDK-8133665 after submitter's confirmation.
24-11-2015

Checked this with JDK 8u51 and 8u66 b18 and could reproduce the issue as reported. Checked this with 9 ea b92 and could confirm the fix introduced in JDK-8133665 being working fine. Written back to the submitter requesting conformation with JRE 9 ea. ======================================================================= On 11/18/2015 1:06 PM, ...... wrote: > Hi ............, > > This issue seems resolved in 9 ea. Can you please try latest 9 ea version from: > https://jdk9.java.net/download/ > > Please confirm back. > > Thank You, > ............
18-11-2015