JDK-8133665 : REGRESSION: Hidden applet does not load in 8u60 and 8u65
  • Type: Bug
  • Component: deploy
  • Sub-Component: plugin
  • Affected Version: 8u60
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2015-08-14
  • Updated: 2017-07-07
  • Resolved: 2015-09-09
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 Availabitlity Release.

To download the current JDK release, click here.
JDK 7 JDK 8 JDK 9
7u91Resolved 8u65Resolved 9 b83Fixed
Related Reports
Blocks :  
Duplicate :  
Duplicate :  
Duplicate :  
Duplicate :  
Relates :  
Relates :  
Description
J2SE Version (please include all output from java -version flag):
java version "1.8.0_65"
Java(TM) SE Runtime Environment (build 1.8.0_65-b09)
Java HotSpot(TM) Client VM (build 25.65-b01, mixed mode)

Does this problem occur on J2SE 7ux, 8ux?  Yes / No (be specific version#)
No

If this is a regression what release did the code last work?

No. The applets works with the current version of Java (Version 8 Update 51).


Operating System Configuration Information (be specific):
Windows 7 - Internet Explorer 11
Windows 8.1 - Internet Explorer 11

Hardware Configuration Information (be specific):
PCs, no special


Bug Description:
Have an applet component that is not being loaded in the Java version 8u60b25 and neither  in the version 8u65b9.

This error occurs with the Internet Explorer browser, but works with Chrome and Firefox browser.

Use a hidden IFrame to have the modal effect. The content of the IFrame is builded with applet tag and then this IFrame is displayed. In this situation, the applet is not instantiated and neither appears the Java Console.

To debug, put some Java Script alerts and  check the existence of the applet, but it is not instantiated. We use the same applet without the use of IFrames and it is working, the operation mode is the same.

To work around the problem, we display the iframe, we use the instruction document.read to check the html was loaded, we hope 2 seconds and so we write the code of the applet tag.
 

Steps to Reproduce (be specific):

Using the sample, using Internet Explorer com Java version 8u60b25 

The applet is closely linked with the system. Follow a sample to get a sense of the problem.
In this sample, with Java 8 Update 51, Java is instanced. But wit Java version 8u60b25, Java is not instanced using Internet Explorer browser.


<html>
<div style="display:block; visibility:hidden">  
  <iframe src="http://javatester.org/version.html" height="300px" width=" 100%" ></iframe>
</div>
</html>

Comments
verified by running affected test against 9b176 on Windows 7-x86/IE11
2017-07-07

7u-CPU Deploymeny nightly is OK. SQE OK to take the fix to CPU15_04. Why we don't have the fix in 8u-CPU repo (8u71)?
2015-09-14

Back to the watch while I check where we are with the integrations and on the 7u backport.
2015-09-08

The workaround is to make the applet visible.
2015-08-19

It is regression from JDK-8080977.
2015-08-19