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

JAVAX: javax ins/dwn tests using appletviewer fails to find class in JAR

XMLWordPrintable

    • 1.2beta4
    • sparc
    • solaris_2.6
    • Not verified

      The following javax tests FAIL when invoked by appletviewer. These
      same tests PASS when invoked by the java interpreter. The problem
      is that they cannot find the class "Util.TestUtil.class" which is
      in the JAR pointed to by: "/home/alanf/workspaces/javax/ext/util".

      The tests that FAIL are: tests/ins/T11
      tests/ins/T13b
      tests/dwn/T11
      tests/dwn/T12b
      tests/dwn/T13b
      tests/dwn/T14

      The tests that PASS are: tests/ins/T10
      tests/ins/T13

      Tests T10 and T11 are the same except that T10 is invoked by "java"
      and T11 is invoked by "appletviewer". T10 PASSES and T11 FAILS with
      the exeception listed below. T11 should PASS like T10.

      Tests T13 and T13b are the same except that T13 is invoked by "java"
      and T13b is invoked by "appletviewer". T13 PASSES and T13b FAILS with
      the exeception listed below. T13b should PASS like T13.

      To reproduce this problem brinover the latest JAVAX Test Suite and
      run tests: tests/ins/T11 and tests/ins/T13b.

      Changing to test directory [T11] .....
      Executing test [T11] .....
      runscript
      + appletviewer -J-Djava.ext.dirs=../../../ext/e1:../../../ext/e2:/home/alanf/workspaces/javax/ext/util T11.html
      java.lang.NoClassDefFoundError: util/TestUtil
      at
      at T11.init(T11.java:69)
      at sun.applet.AppletPanel.run(AppletPanel.java:294)
      at java.lang.Thread.run(Thread.java:475)
      ***** -------------------
      ***** Test Result Summary
      ***** -------------------
      ***** T11 . . . . . . . . INCOMPLETE (NO RESULTS)
      ********************************************************************************
      Changing to test directory [T13b] .....
      Executing test [T13b] .....
      runscript
      + appletviewer -J-Djava.ext.dirs=../../audio/jar:../../images/jar:/home/alanf/workspaces/javax/ext/util T13b.html
      java.lang.NoClassDefFoundError: util/TestUtil
      at
      at T13b.init(T13b.java:64)
      at sun.applet.AppletPanel.run(AppletPanel.java:294)
      at java.lang.Thread.run(Thread.java:475)
      ***** -------------------
      ***** Test Result Summary
      ***** -------------------
      ***** T13b . . . . . . . . INCOMPLETE (NO RESULTS)
      ********************************************************************************

            dconnellsunw David Connelly (Inactive)
            aefreche Alan Frechette (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: