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

Updating to Java Plug-in 1.6.0_19 on SSL website results in ClassNotFoundExcepti

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6u19
    • Fix Version/s: None
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • Introduced In Version:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      FULL PRODUCT VERSION :
      java version "1.6.0_19"
      Java(TM) SE Runtime Environment (build 1.6.0_19-b04)
      Java HotSpot(TM) Client VM (build 16.2-b04, mixed mode, sharing)
      Java Plug-in 1.6.0_19
      Using JRE version 1.6.0_19-b04 Java HotSpot(TM) Client VM

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows XP [Version 5.1.2600]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      SSLv3 connection

      A DESCRIPTION OF THE PROBLEM :
      Unsigned applets that previously loaded from an HTML file using an <APPLET> tag under 1.6.0_18 and below now fail to load with class-not-found exception in the console. Applets are loaded from a website over an SSL connection. Setting the sun.security.ssl.allowUnsafeRenegotiation System property to true results in the applet executing normally.

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Create an applet and accompanying HTML on an SSL webserver with JSSE 1.6.0_19 installed on client. Log in an attempt to view the HTML/applet.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The applet should execute correctly.
      ACTUAL -
      The applet will fail to execute and the console should show a class not found exception.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      load: class <classname> not found.
      java.lang.ClassNotFoundException: <classname>
      at sun.applet.AppletClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.applet.AppletClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.applet.AppletClassLoader.loadCode(Unknown Source)
      at sun.applet.AppletPanel.createApplet(Unknown Source)
      at sun.plugin.AppletViewer.createApplet(Unknown Source)
      at sun.applet.AppletPanel.runLoader(Unknown Source)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
      load: class <class> not found.


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      Any applet should result in same outcome.
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Set the System property sun.security.ssl.allowUnsafeRenegotiation to true.

      SUPPORT :
      YES

      Release Regression From : 6u18
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

        Attachments

          Activity

            People

            • Assignee:
              dgu Dennis Gu (Inactive)
              Reporter:
              ndcosta Nelson Dcosta (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: