[lworld] CDS tests fail with --enable-preview patched value classes

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • repo-valhalla
    • Affects Version/s: repo-valhalla
    • Component/s: core-libs
    • None

      When --enable-preview is true, the patching of some java.base classes as value classes disables CDS. Subsequently the CDS tests fail.

      For example,
      runtime/cds/appcds/redefineClass/RedefineRunningMethods_Shared.java

      `Error occurred during initialization of VM
      Cannot use the following option when dumping the shared archive: --patch-module`

            Assignee:
            Ioi Lam
            Reporter:
            Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: