Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-7072601

Java 7 crashes with Internet Explorer 9

XMLWordPrintable

    • 7
    • b03
    • x86
    • windows_7

        FULL PRODUCT VERSION :
        java version "1.7.0"
        Java(TM) SE Runtime Environment (build 1.7.0-b147)
        Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)

        ADDITIONAL OS VERSION INFORMATION :
        Microsoft Windows [Version 6.1.7601]

        A DESCRIPTION OF THE PROBLEM :
        After installing Java 7, Internet Explorer 9 crashes when opening some applets.

        REGRESSION. Last worked in version 6u26

        STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        1. Compile JavaVersionApplet.java
        2. Open java-version.html with Internet Explorer 9

        EXPECTED VERSUS ACTUAL BEHAVIOR :
        EXPECTED -
        Install Java version is displayed

        ERROR MESSAGES/STACK TRACES THAT OCCUR :
        Internet Explorer 9 reports "A problem with this webpage caused Internet Explorer to close and reopen the tab."

        REPRODUCIBILITY :
        This bug can be reproduced always.

        ---------- BEGIN SOURCE ----------
        JavaVersionApplet.java:

        import java.applet.Applet;
        public class JavaVersionApplet extends Applet {
        public static String getJavaVersion() {
        return System.getProperty("java.version");
        }
        }

        java-version.html:

        <!DOCTYPE html>
        <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
        <head>
        <meta charset="UTF-8" />
        <title>Java Version Check</title>
        <script type="text/javascript">
        function getJavaVersion() {
        var javaVersion=document.getElementById("javaVersion");
        javaVersion.innerHTML="Loading..."
        var verionCheckApplet=document.getElementById("verionCheckApplet");
        javaVersion.innerHTML=("getJavaVersion" in verionCheckApplet)?verionCheckApplet.getJavaVersion():"Not Installed";
        }
        </script>
        </head>
        <body onload="getJavaVersion()">
        <h1>Java Version Check</h1>
        <p id="javaVersion">JavaScript Required</p>
        <object id="verionCheckApplet" type="application/x-java-applet" width="0" height="0"><param name="code" value="JavaVersionApplet.class" /></object>
        </body>
        </html>
        ---------- END SOURCE ----------

              ccheung Calvin Cheung
              webbuggrp Webbug Group
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: