[jdk11u-dev] RFR: 8207211: [TESTBUG] Remove excessive output from CDS/AppCDS tests
Paul Hohensee
phh at openjdk.org
Thu Dec 14 20:54:42 UTC 2023
On Wed, 13 Dec 2023 23:35:09 GMT, Amos Shi <ashi at openjdk.org> wrote:
> 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
Marked as reviewed by phh (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk11u-dev/pull/2380#pullrequestreview-1782721369
More information about the jdk-updates-dev
mailing list