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

[TESTBUG] runtime/appcds/DumpClassList.java and ProhibitedPackage.java fail on product bits

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 10
    • 10
    • hotspot
    • b36

    Description

      runtime/AppCDS/DumpClassList.java and ProhibitedPackage.java spawn JVM w/ -XX:+PrintSystemDictionaryAtExit flag which is a notproduct flag and not available in product binaries.

      Command line: [C:\\ade\\mesos\\work_dir\\jib-master\\install\\2017-11-22-0124053.igor.ignatyev.hs-clean\\windows-x64.jdk\\jdk-10\\bin\\java.exe -cp T:\\testoutput\\jtreg\\JTwork\\classes\\3\\runtime\\AppCDS\\DumpClassList.d;C:\\ade\\mesos\\work_dir\\jib-master\\install\\2017-11-22-0124053.igor.ignatyev.hs-clean\\src.full\\closed\\test\\hotspot\\jtreg\\runtime\\AppCDS;T:\\testoutput\\jtreg\\JTwork\\classes\\3\\open\\test\\lib;C:\\ade\\mesos\\work_dir\\jib-master\\install\\java\\re\\jtreg\\4.2\\promoted\\all\\b10\\bundles\\jtreg_bin-4.2.zip\\jtreg\\lib\\javatest.jar;C:\\ade\\mesos\\work_dir\\jib-master\\install\\java\\re\\jtreg\\4.2\\promoted\\all\\b10\\bundles\\jtreg_bin-4.2.zip\\jtreg\\lib\\jtreg.jar -XX:MaxRAMPercentage=6 -cp T:\\testoutput\\jtreg\\JTwork\\classes\\3\\runtime\\AppCDS\\DumpClassList.d\\app.jar -Xshare:dump -Xlog:cds,cds+hashtables -XX:+UnlockCommercialFeatures -XX:+UseAppCDS -XX:ExtraSharedClassListFile=T:\\testoutput\\jtreg\\JTwork\\classes\\3\\runtime\\AppCDS\\DumpClassList.d\\DumpClassList-test.classlist -XX:SharedArchiveFile=T:\\testoutput\\jtreg\\JTwork\\scratch\\2\\appcds-18h22m33s216.jsa -Xbootclasspath/a:T:\\testoutput\\jtreg\\JTwork\\classes\\3\\runtime\\AppCDS\\DumpClassList.d\\bootappend.jar -XX:+UnlockDiagnosticVMOptions -XX:+PrintSystemDictionaryAtExit -XX:SharedClassListFile=app.list ]
      [ELAPSED: 28 ms]
      [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.

      [STDOUT]

      ----------System.err:(22/1160)----------
       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

      Attachments

        Activity

          People

            iklam Ioi Lam
            iignatyev Igor Ignatyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: