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

[TESTBUG]runtime/appcds/cacheObject/ArchivedModuleCompareTest.java fails with EnableJVMCI

    Details

    • Subcomponent:
    • Resolved In Build:
      b09

      Backports

        Description

        runtime/appcds/cacheObject/ArchivedModuleCompareTest.java fails when running with "-XX:+UnlockExperimentalVMOptions -XX:+EnableJVMCI".
        The error message is:

        STDERR]
        java version "12-internal" 2019-03-19
        Java(TM) SE Runtime Environment 19.3 (fastdebug build 12-internal+0-2018-08-15-1230544.katya.jdk.jdk)
        Java HotSpot(TM) 64-Bit Server VM 19.3 (fastdebug build 12-internal+0-2018-08-15-1230544.katya.jdk.jdk, mixed mode, sharing)

        [STDOUT]
        java.xml.crypto, jdk.internal.jvmstat, java.instrument, jdk.editpad, java.naming, java.transaction.xa, jdk.compiler, jdk.internal.opt, jdk.crypto.cryptoki, jdk.dynalink, java.logging, java.desktop, jdk.net, jdk.scripting.nashorn, java.compiler, jdk.management.agent, jdk.jconsole, java.sql, jdk.jshell, java.sql.rowset, jdk.accessibility, java.management.rmi, jdk.jdi, java.scripting, jdk.crypto.ec, jdk.sctp, jdk.xml.dom, jdk.internal.le, jdk.internal.ed, java.base, jdk.jdwp.agent, java.net.http, java.prefs, jdk.naming.dns, java.security.sasl, jdk.internal.vm.compiler, jdk.localedata, jdk.naming.rmi, jdk.jsobject, jdk.jdeps, java.xml, jdk.unsupported.desktop, jdk.jlink, jdk.unsupported, jdk.management.jfr, jdk.jstatd, jdk.charsets, jdk.jartool, java.security.jgss, java.smartcardio, jdk.httpserver, jdk.management, jdk.zipfs, jdk.javadoc, java.datatransfer, jdk.security.jgss, jdk.security.auth, java.management, java.rmi, jdk.attach, jdk.jfr, jdk.internal.vm.ci,

        ----------System.err:(13/815)----------
        java.lang.RuntimeException: jdk.jartool is different from jdk.internal.vm.ci
                at TestCommon.checkOutputStrings(TestCommon.java:358)
                at ArchivedModuleCompareTest.main(ArchivedModuleCompareTest.java:66)
                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:566)
                at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:246)
                at java.base/java.lang.Thread.run(Thread.java:834)


          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jiangli Jiangli Zhou
                  Reporter:
                  epavlova Ekaterina Pavlova
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: