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

[TESTBUG] Some appcds regression test cases fail with "Error: VM option 'PrintSystemDictionaryAtExit' is notproduct and is available only in debug version of VM"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 11
    • 11
    • hotspot
    • b10
    • 11
    • b12
    • generic
    • generic

    Description

      Affected test cases:
      runtime/appcds/jigsaw/modulepath/AddOpens.java
      runtime/appcds/jigsaw/modulepath/ExportModule.java
      runtime/appcds/jigsaw/modulepath/MainModuleOnly.java
      runtime/appcds/jigsaw/modulepath/ModulePathAndCP.java

      Error Logs:
      Error: VM option 'PrintSystemDictionaryAtExit' is notproduct and is available only in debug version of VM.
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.

      [STDOUT]

      ----------System.err:(22/1134)----------
       stdout: [];
       stderr: [Error: VM option 'PrintSystemDictionaryAtExit' is notproduct and is available only in debug version of VM.
      Error: Could not create the Java Virtual Machine.
      Error: A fatal exception has occurred. Program will exit.
      ]
       exitValue = 1

      java.lang.RuntimeException: 'Loading classes to share' missing from stdout/stderr

      at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:136)
      at jdk.test.lib.cds.CDSTestUtils.checkDump(CDSTestUtils.java:267)
      at AddOpens.main(AddOpens.java:93)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.base/java.lang.reflect.Method.invoke(Method.java:569)
      at com.sun.javatest.regtest.agent.MainActionHelper$SameVMRunnable.run(MainActionHelper.java:229)
      at java.base/java.lang.Thread.run(Thread.java:831)

      JavaTest Message: Test threw exception: java.lang.RuntimeException
      JavaTest Message: shutting down test

      result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'Loading classes to share' missing from stdout/stderr


      test result: Failed. Execution failed: `main' threw exception: java.lang.RuntimeException: 'Loading classes to share' missing from stdout/stderr

      Attachments

        Issue Links

          Activity

            People

              ccheung Calvin Cheung
              akolarkunnu Abdul Kolarkunnu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: