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

keytool alt path has dependency on tools.jar, which does not exist in a JRE

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 6
    • 6
    • security-libs
    • None
    • beta
    • generic, x86
    • generic, linux_suse_sles_9

      (See the evaluation first for more info on this test and the underlying cause.)

      With the recent fix for 6307396, we have the following test failure now.

      >TEST: sun\security\tools\keytool\AltProviderPath.sh
      >> JDK under test:
      >> (c:/jsn_re/mustang/nightlies/ws/control/build/windows-i586/j2sdk-image)
      >> java version "1.6.0-internal"
      >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-internal-b99)
      >> Java HotSpot(TM) Client VM (build 1.6.0-ea-b47, mixed mode)
      >>
      >> ACTION: build -- Passed. Compilation successful
      >> REASON: User specified action: run build DummyProvider
      >> TIME: 0.859 seconds
      >>
      >> ACTION: compile -- Passed. Compilation successful
      >> REASON: .class file out of date or does not exist
      >> TIME: 0.859 seconds
      >> STDOUT:
      >> STDERR:
      >>
      >> ACTION: shell -- Failed. Execution failed: exit code 1
      >> REASON: User specified action: run shell AltProviderPath.sh set a few
      >> environmen
      >> t variables so that the shell-script can run stand-alone in the source
      >> directory
      >>
      >> TIME: 0.375 seconds
      >> STDOUT:
      >> STDERR:
      >> Exception in thread "main" java.lang.NoClassDefFoundError:
      >> com/sun/tools/javac/util/Pair
      >> at sun.security.tools.KeyTool.parseArgs(KeyTool.java:338)
      >> at sun.security.tools.KeyTool.run(KeyTool.java:171)
      >> at sun.security.tools.KeyTool.main(KeyTool.java:166)
      >>
      >> TEST RESULT: Failed. Execution failed: exit code 1
      >>
      >> And under the j2re-image build, you get the following error
      >>
      >> [wetmore@luster] 282 >myjtreg
      >> /home/wetmore/ws/nightlies/ws/control/build/solari
      >> s-sparc/j2re-image AltProviderPath.sh
      >> Running Tests...
      >> Directory "./JTreport" not found: Creating
      >> Directory "./JTwork" not found: Creating
      >> Directory "./JTwork/scratch" not found: Creating
      >> --------------------------------------------------
      >> TEST: sun/security/tools/keytool/AltProviderPath.sh
      >> JDK under test:
      >> (/home/wetmore/ws/nightlies/ws/control/build/solaris-sparc/j2re-
      >> image)
      >> java version "1.6.0-internal"
      >> Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-internal-b99)
      >> Java HotSpot(TM) Server VM (build 1.6.0-ea-b47, mixed mode)
      >>
      >> ACTION: build -- Failed. Compilation failed
      >> REASON: User specified action: run build DummyProvider
      >> TIME: 1.228 seconds
      >>
      >> ACTION: compile -- Failed. Compilation failed
      >> REASON: .class file out of date or does not exist
      >> TIME: 1.216 seconds
      >> STDOUT:
      >> STDERR:
      >>
      >> TEST RESULT: Failed. Compilation failed
      >> --------------------------------------------------
      >> test results: failed: 1
      >> Report written to
      >> /net/luster/export/scratch/jsn_re/jdk/mustang-nightlies/ws/test/solaris-sparc/J2SE_TESTS/sun/security/tools/keytool/JTreport/report.html
      >> Results written to
      >> /net/luster/export/scratch/jsn_re/jdk/mustang-nightlies/ws/test/solaris-sparc/J2SE_TESTS/sun/security/tools/keytool/JTwork
      >> Error: some tests failed or other problems occurred

            weijun Weijun Wang
            wetmore Bradford Wetmore
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: