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

Regression: Installed extensions not being found.

XMLWordPrintable

    • 1.2fcs
    • generic, x86, sparc
    • solaris_2.5.1, solaris_2.6, windows_nt
    • Verified


      Regression: yes
      Build found on: JDK1.2FCS-I
      Build last worked: JDK1.2FCS-H

      All of the installed extension tests are failing as we are not
      finding the specified installed extensions.
      Downloaded extensions are still OK.

      Details:
      - Please do a fresh bringover of the javax test suite.
      - Use any test case in the <your child>/tests/ins directory.

      Example of failure using test case .../tests/ins/T0:

      Using the JDK1.2FCS-H build:
      ----------------------------
      kamehameha1[211] java -version
      java version "1.2fcs"
      Classic VM (build JDK-1.2fcs-H, green threads, sunwjit)
      kamehameha1[212] make clean
      rm -f *.class T0.jar
      kamehameha1[213] make
      javac -deprecation -classpath "/js/files/JDK1.2_latest/solaris/lib/classes.zip:/home/lblair/work/javax/ext/util/util.jar:../../../ext/e2/e2.jar" T0.java
      jar cvfm T0.jar manifest.mf T0.class
      added manifest
      adding: T0.class (in=3977) (out=1841) (deflated 53%)
      kamehameha1[214] make run
      java -Djava.ext.dirs="../../../ext/e3:../../../ext/e2:/home/lblair/work/javax/ext/util" -jar T0.jar
      T0 ClassLoader=sun.misc.Launcher$AppClassLoader@251f30e8
      ================================================
      T0 test cases [APPLICATION/INSTALLED EXTENSIONS]
      ================================================
          T0:(test0) ... test package not sealed for [pkgs.one.A] resolution in JAR1
          T0:(test1) ... test package not sealed for [pkgs.one.C] resolution in JAR2
          T0:(test2) ... test package not sealed for [pkgs.two.B] resolution in JAR1
          T0:(test3) ... test security violation for [pkgs.two.D] sealed in JAR2
      --------------------------------------------------------------------------------
      Begin executing test T0:(test0) .....
      Test package not sealed [INSTALLED EXTENSIONS] reference to JAR1
      Create instance of class pkgs.one.A - not sealed
      A=(pkgs.one.A:not sealed)
      A ClassLoader=sun.misc.Launcher$ExtClassLoader@3c9f30e8
      Verify package not sealed
      T0:(test0) ..... PASSED
      Done executing test T0:(test0) .....
      --------------------------------------------------------------------------------
      Begin executing test T0:(test1) .....
      Test package sealed [INSTALLED EXTENSIONS] reference to JAR2
      Create instance of class pkgs.one.C - not sealed
      C=(pkgs.one.C:not sealed)
      C ClassLoader=sun.misc.Launcher$ExtClassLoader@3c9f30e8
      Verify package not sealed
      T0:(test1) ..... PASSED
      Done executing test T0:(test1) .....
      --------------------------------------------------------------------------------
      Begin executing test T0:(test2) .....
      Test package not sealed [INSTALLED EXTENSIONS] reference to JAR1
      Create instance of class pkgs.two.B - not sealed
      B=(pkgs.two.B:not sealed)
      B ClassLoader=sun.misc.Launcher$ExtClassLoader@3c9f30e8
      Verify package not sealed
      T0:(test2) ..... PASSED
      Done executing test T0:(test2) .....
      --------------------------------------------------------------------------------
      Begin executing test T0:(test3) .....
      Test sealing violation [INSTALLED EXTENSIONS]
      Verify sealing violation
      Did get Exception, class D is not loaded
      T0:(test3) ..... PASSED
      Done executing test T0:(test3) .....
      --------------------------------------------------------------------------------
      ***** -------------------
      ***** Test Result Summary
      ***** -------------------
      ***** T0:(test0) . . . . . . . . PASSED
      ***** T0:(test1) . . . . . . . . PASSED
      ***** T0:(test2) . . . . . . . . PASSED
      ***** T0:(test3) . . . . . . . . PASSED
      ***** T0 . . . . . . . . PASSED
      ********************************************************************************


      Using the JDK1.2FCS-I build:
      ----------------------------
      kamehameha1[218] java -version
      java version "1.2fcs"
      Classic VM (build JDK-1.2fcs-I, green threads, sunwjit)
      kamehameha1[219] make clean
      rm -f *.class T0.jar
      kamehameha1[220] make
      javac -deprecation -classpath "/js/files/JDK1.2_latest/solaris/lib/classes.zip:/home/lblair/work/javax/ext/util/util.jar:../../../ext/e2/e2.jar" T0.java
      jar cvfm T0.jar manifest.mf T0.class
      added manifest
      adding: T0.class (in=3977) (out=1841) (deflated 53%)
      kamehameha1[221] make run
      java -Djava.ext.dirs="../../../ext/e3:../../../ext/e2:/home/lblair/work/javax/ext/util" -jar T0.jar
      Exception in thread "main" java.lang.NoClassDefFoundError: util/TestUtil
              at T0.main(Compiled Code)
      *** Error code 1
      make: Fatal error: Command failed for target `run'

            busersunw Btplusnull User (Inactive)
            lblairsunw Liz Blair (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: