[jdk11u-dev] Integrated: 8207211: [TESTBUG] Remove excessive output from CDS/AppCDS tests

Amos Shi ashi at openjdk.org
Mon Dec 18 23:15:45 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
> 
> Tests
> - PR All checks have passed
> - SAP nightlies passed on 2023-12-19

This pull request has now been integrated.

Changeset: 95059064
Author:    Amos Shi <ashi at openjdk.org>
Committer: Paul Hohensee <phh at openjdk.org>
URL:       https://git.openjdk.org/jdk11u-dev/commit/950590649d6c32e13f3ab90c1f04a3a43a5a67b1
Stats:     51 lines in 14 files changed: 14 ins; 17 del; 20 mod

8207211: [TESTBUG] Remove excessive output from CDS/AppCDS tests

Changed the value of the property test.cds.copy.child.stdout to false so that stdout of child processes are logged in files. Each stdout and stderr file will have a unique name.

Reviewed-by: phh
Backport-of: c3adb5f87d6af6345bf9cd047d2c378ecdd7ede7

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

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


More information about the jdk-updates-dev mailing list