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

appcds/dynamicArchive/ArchiveConsistency.java fails after JDK-8279997

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 19
    • 19
    • hotspot
    • 19
    • b10

      JDK-8279997 added two new test cases and they are failing in tier 5 with release builds:

      ----------System.err:(30/1746)----------
      java version "19-ea" 2022-09-20
      Java(TM) SE Runtime Environment (fastdebug build 19-ea+10-544)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 19-ea+10-544, mixed mode)
       stdout: [Hello World
      ];
       stderr: [java version "19-ea" 2022-09-20
      Java(TM) SE Runtime Environment (fastdebug build 19-ea+10-544)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 19-ea+10-544, mixed mode, sharing)
      ]
       exitValue = 0

      java.lang.RuntimeException: 'warning: -XX:+AutoCreateSharedArchive is unsupported when base CDS archive is not loaded' missing from stdout/stderr

      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:221)
      at ArchiveConsistency.lambda$doTest$3(ArchiveConsistency.java:218)
      at jdk.test.lib.cds.CDSTestUtils$Result.assertNormalExit(CDSTestUtils.java:149)
      at ArchiveConsistency.doTest(ArchiveConsistency.java:217)
      at ArchiveConsistency.testCustomBase(ArchiveConsistency.java:61)
      at DynamicArchiveTestBase.runTest(DynamicArchiveTestBase.java:76)
      at ArchiveConsistency.main(ArchiveConsistency.java:53)

            iklam Ioi Lam
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: