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

[TESTBUG] runtime/appcds/jigsaw/classpathtests/DummyClassesInBootClassPath.java passes despite error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 10
    • Fix Version/s: 11
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b01

      Description

      This test encounters an error, ignores it and reports as PASSED:

      [STDERR]
      An error has occurred while processing the shared archive file.
      shared class paths mismatch (hint: enable -Xlog:class+path=info to diagnose the failure)

      [STDOUT]
      [0.001s][warning][arguments] -XX:+TraceClassPaths is deprecated. Will use -Xlog:class+path=info instead.
      [0.004s][info ][class,path] bootstrap loader class path=/jdk/bld/cons/images/jdk/lib/modules:/jdk/tmp/jtreg/work/classes/22/runtime/appcds/jigsaw/classpathtests/DummyClassesInBootClassPath.d/dummyClasses.jar:/jdk/tmp/jtreg/work/classes/22/runtime/appcds/jigsaw/classpathtests/DummyClassesInBootClassPath.d/WhiteBox.jar
      [0.004s][info ][class,path] opened: /jdk/bld/cons/images/jdk/lib/modules
      [0.004s][info ][class,path] opened: /jdk/tmp/jtreg/work/classes/22/runtime/appcds/jigsaw/classpathtests/DummyClassesInBootClassPath.d/dummyClasses.jar
      [0.004s][info ][class,path] opened: /jdk/tmp/jtreg/work/classes/22/runtime/appcds/jigsaw/classpathtests/DummyClassesInBootClassPath.d/WhiteBox.jar
      [0.016s][info ][class,path] type=BOOT
      [0.016s][info ][class,path] Expecting BOOT path=/jdk/bld/cons/images/jdk/lib/modules:/jdk/tmp/jtreg/work/classes/22/runtime/appcds/jigsaw/classpathtests/DummyClassesInBootClassPath.d/dummyClasses.jar
      [0.016s][info ][class,path] [BOOT classpath mismatch, actual =/jdk/bld/cons/images/jdk/lib/modules:/jdk/tmp/jtreg/work/classes/22/runtime/appcds/jigsaw/classpathtests/DummyClassesInBootClassPath.d/dummyClasses.jar:/jdk/tmp/jtreg/work/classes/22/runtime/appcds/jigsaw/classpathtests/DummyClassesInBootClassPath.d/WhiteBox.jar
      Error occurred during initialization of VM
      Unable to use shared archive.

      ----------System.err:(1/15)----------
      STATUS:Passed.

        Attachments

          Activity

            People

            Assignee:
            ccheung Calvin Cheung
            Reporter:
            iklam Ioi Lam
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: