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

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • repo-valhalla
    • repo-valhalla
    • 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`

            iklam Ioi Lam
            rriggs Roger Riggs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: