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

Applet compatiblity- Many applets failed to load, function properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2 P2
    • None
    • 9
    • deploy
    • None
    • generic
    • generic

      There is a regression noticing since JDK9-b28 that many existing applets out there failed to load or part of them failed to function. They worked find untill JDK 9-b27 and 8u20. The issue is platform/browser independent

      Typical error occurred can be found at the end of this bug report.

      *** Test Configurations:
      - x86 Win 7/ FF, IE. x84 Ubuntu 12.04/ FF (should be on any platform, browser)
      - jre9-b32, b28, b27
      - Many applets in our applet compatibility suite (> 30 applets from different sites)

      *** Steps to reproduce:
      0) Install jre9-b32
      1) Add "http://thejmaker.com to the ESL)
      2) Use any browser to load the test applet
      http://thejmaker.com/ThreeDimView/ThreeDimView.html
      3) Accept to run unsigned app from the warning dialog

      If the applet fails to load, the issue is reproducible. The issue does not happen if using jre9-b27 or 8u20 GA

      * Other sample applets displaying the same issue:
        - http://www.mazeworks.com/hanoi/index.htm (adding "http://www.mazeworks.com" to the ESL)
        - http://appletparadise.com/applets/Breakout/breakout.html (adding "http://appletparadise.com" to the ESL)
        

      ************************************************************************************
      ....
      .....
      cache: registerReference: com.sun.deploy.cache.MemoryCache$CachedResourceReference@a3564938: 1
      java.io.IOException: Stream Closed
      at java.io.FileInputStream.readBytes(Native Method)
      at java.io.FileInputStream.read(Unknown Source)
      at java.io.BufferedInputStream.read1(Unknown Source)
      at java.io.BufferedInputStream.read(Unknown Source)
      at com.sun.deploy.uitoolkit.impl.awt.Applet2ImageFactory.getImage(Unknown Source)
      at com.sun.deploy.uitoolkit.impl.awt.Applet2ImageFactory.access$000(Unknown Source)
      at com.sun.deploy.uitoolkit.impl.awt.Applet2ImageFactory$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at com.sun.deploy.uitoolkit.impl.awt.Applet2ImageFactory.createImage(Unknown Source)
      at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter$AppletContextImpl.getImage(Unknown Source)
      at java.applet.Applet.getImage(Unknown Source)
      at java.applet.Applet.getImage(Unknown Source)
      at ThreeDimView.a(Unknown Source)
      at ThreeDimView.init(Unknown Source)
      at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      basic: Loaded image: http://thejmaker.com/ThreeDimView/ThreeDimView_b1.gif
      java.lang.NullPointerException
      at ThreeDimView.a(Unknown Source)
      at ThreeDimView.init(Unknown Source)
      at com.sun.deploy.uitoolkit.impl.awt.AWTAppletAdapter.init(Unknown Source)
      at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      basic: Removed progress listener: sun.plugin.util.ProgressMonitorAdapter@1d792bb
      security: Reset deny session certificate store
      basic: PluginMain.unregisterApplet: 1 from mananger sun.plugin2.applet.Applet2Manager@1b4fa12
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at sun.plugin2.message.Queue.waitForMessage(Unknown Source)
      at sun.plugin2.message.Pipe$2.run(Unknown Source)
      at com.sun.deploy.util.Waiter$1.wait(Unknown Source)
      at com.sun.deploy.util.Waiter.runAndWait(Unknown Source)
      at sun.plugin2.message.Pipe.receive(Unknown Source)
      at sun.plugin2.main.server.HeartbeatThread.run(Unknown Source)
      java.lang.InterruptedException
      at java.lang.Object.wait(Native Method)
      at sun.plugin2.message.Queue.waitForMessage(Unknown Source)
      at sun.plugin2.message.Pipe$1.run(Unknown Source)
      at com.sun.deploy.util.Waiter$1.wait(Unknown Source)
      at com.sun.deploy.util.Waiter.runAndWait(Unknown Source)
      at sun.plugin2.message.Pipe.receive(Unknown Source)
      at sun.plugin2.main.client.PluginMain.mainLoop(Unknown Source)
      at sun.plugin2.main.client.PluginMain.run(Unknown Source)
      at sun.plugin2.main.client.PluginMain.main(Unknown Source)
      ...
      ...
      ******************************************************************************************************

            vdrozdov Victor Drozdov (Inactive)
            hungnguy Hung Nguyen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: