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

Test runtime/cds/appcds/applications/JavacBench.java#dynamic fails after JDK-8344822

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 24
    • 24
    • hotspot
    • b27

      Test: runtime/cds/appcds/applications/JavacBench.java#dynamic

      Fails in the tier 5 run containing the fix for JDK-8344822

      java version "24-ea" 2025-03-18
      Java(TM) SE Runtime Environment (fastdebug build 24-ea+26-3339)
      Java HotSpot(TM) 64-Bit Server VM (fastdebug build 24-ea+26-3339, mixed mode)
       stdout: [Error occurred during initialization of VM
      Unable to use shared archive: invalid archive
      ];
       stderr: [Class data sharing is inconsistent with other specified options.
      ]
       exitValue = 1

      java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
      at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:522)
      at jdk.test.lib.cds.CDSAppTester.executeAndCheck(CDSAppTester.java:158)
      at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:279)
      at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:246)
      at jdk.test.lib.cds.CDSAppTester.runDynamicWorkflow(CDSAppTester.java:315)
      at jdk.test.lib.cds.CDSAppTester.run(CDSAppTester.java:298)
      at JavacBench.main(JavacBench.java:57)
      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
      at java.base/java.lang.reflect.Method.invoke(Method.java:565)
      at com.sun.javatest.regtest.agent.MainWrapper$MainTask.run(MainWrapper.java:138)
      at java.base/java.lang.Thread.run(Thread.java:1447)

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

              Created:
              Updated:
              Resolved: