[jdk11u-dev] RFR: Backport c3adb5f87d6af6345bf9cd047d2c378ecdd7ede7

Amos Shi ashi at openjdk.org
Wed Dec 13 23:44:50 UTC 2023


Backport of [JDK-8207211](https://bugs.openjdk.org/browse/JDK-8207211)
Unclean Backport. We have the following differences from the original commit:
- `test/hotspot/jtreg/runtime/appcds/ProtectionDomain.java` is not needed to change, because
  - `Copyright year` line do not need to change, because current year is more recent
  - The `"-verbose:class"` parameter does not exist any more
- `test/lib/jdk/test/lib/cds/CDSTestUtils.java` has manual modification
  - In the original commit `c3adb5f87d6af6345bf9cd047d2c378ecdd7ede7` a method named `getTestName()` is called
  - This method was added by [JDK-8177728](https://bugs.openjdk.org/browse/JDK-8177728) on `Apr 18, 2017` and removed by [JDK-8246387](https://bugs.openjdk.org/browse/JDK-8246387) later on `Jun 10, 2020`
  - So this method does not exit any more in current code base
  - We respect the current (newer) code base so use the `testName` variable instead

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

Commit messages:
 - Backport 83eb20651f6b5fa0540a339921c8ad0a6d370bb7

Changes: https://git.openjdk.org/jdk11u-dev/pull/2380/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk11u-dev&pr=2380&range=00
  Stats: 52 lines in 14 files changed: 14 ins; 17 del; 21 mod
  Patch: https://git.openjdk.org/jdk11u-dev/pull/2380.diff
  Fetch: git fetch https://git.openjdk.org/jdk11u-dev.git pull/2380/head:pull/2380

PR: https://git.openjdk.org/jdk11u-dev/pull/2380


More information about the jdk-updates-dev mailing list