[jdk17u-dev] RFR: 8286277: CDS VerifyError when calling clone() on object array

Jan Kratochvil duke at openjdk.org
Thu Jun 30 18:55:53 UTC 2022


This bug has been faced by a customer and this backport does work for them.


I am not yet an Author - I do not have JBS account.
The testcase works after backporting:

   TEST                                              TOTAL  PASS  FAIL ERROR
   jtreg:test/hotspot/jtreg/runtime/cds/appcds/VerifyObjArrayCloneTest.java
                                                         1     1     0     0
   jtreg:test/hotspot/jtreg/runtime/cds/appcds/dynamicArchive/VerifyObjArrayCloneTest.java
                                                         1     1     0     0

And there is no regression:

->> jtreg:test/hotspot/jtreg:tier1                     1817  1810     7     0 <<
+>> jtreg:test/hotspot/jtreg:tier1                     1818  1811     7     0 <<

-------------

Commit messages:
 - 8286277: CDS VerifyError when calling clone() on object array

Changes: https://git.openjdk.org/jdk17u-dev/pull/519/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk17u-dev&pr=519&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8286277
  Stats: 348 lines in 7 files changed: 339 ins; 0 del; 9 mod
  Patch: https://git.openjdk.org/jdk17u-dev/pull/519.diff
  Fetch: git fetch https://git.openjdk.org/jdk17u-dev pull/519/head:pull/519

PR: https://git.openjdk.org/jdk17u-dev/pull/519


More information about the jdk-updates-dev mailing list