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

can not load applet due to classloader problem on Solaris

    Details

    • Subcomponent:
    • Resolved In Build:
      kestrel
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Description


      gemma.riner@eng 1999-10-15
      tested on build K
      on Solaris 2.6, 7, and 8

      We can not run most of our tests on Solaris due to a classloader problem.

      - 1.1.3 mimed type failed with the messages below:
        test is in:
        http://sqesvr.eng.sun.com/plugin1/ws/doc/proc/JPI_bat.html

      java.lang.ClassFormatError: GraphPanel (Bad magic number)
              at java.lang.ClassLoader.defineClass0(Native Method)
              at java.lang.ClassLoader.defineClass(ClassLoader.java:453)
              at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:106)
              at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:146)
              at sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:203)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:291)
              at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:112)
              at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
              at java.lang.Class.newInstance0(Native Method)
              at java.lang.Class.newInstance(Class.java:241)
              at sun.applet.AppletPanel.createApplet(AppletPanel.java:583)
              at sun.plugin.AppletViewer.createApplet(AppletViewer.java:977)
              at sun.applet.AppletPanel.runLoader(AppletPanel.java:519)
              at sun.applet.AppletPanel.run(AppletPanel.java:297)
              at sun.plugin.navig.motif.MotifAppletViewer.maf_run(MotifAppletViewer.java:125)
              at sun.plugin.navig.motif.MotifAppletViewer.run(MotifAppletViewer.java:121)
              at java.lang.Thread.run(Thread.java:488)


      The following tests are also failing with the same messages as above:

      1. Kestrel demos:
          http://webwork/products/plugin/1.3/demos/applets.html
          
          3D Chemical Models (example 1-3)
          SpreadSheet
          Graph Layout (example 1-4)
          Arc Test
          Card Test
          Dither Test
          Draw Test
          Graphics Test
          Catch the Jumping Box
          The Animator Applet (example 1-4)
          SwingSet2 (on Sol8)

      2. JSObject
          http://sqesvr.eng.sun.com/plugin1/ws/tests/autotests

      3. File caching
          http://sqesvr.eng.sun.com/plugin1/ws/doc/proc/JPI_filecache.html

      4. Applet Installation (Applet Caching)
          http://javaweb.eng/~vmanda/lab1/kangaroo/4243633-4262807/sqe/www/app_security01.html
          http://javaweb.eng/~vmanda/lab1/kangaroo/4243633-4262807/sqe/www/app_security02.html

        Attachments

          Activity

            People

            • Assignee:
              duke J. Duke (Inactive)
              Reporter:
              griner Gemma Riner (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: