Integrated: 8346871: Improve robustness of java/util/zip/EntryCount64k.java test

Jaikiran Pai jpai at openjdk.org
Mon Dec 30 00:55:41 UTC 2024


On Sun, 29 Dec 2024 14:51:06 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

> Can I please get a review of this test-only change which improves the `test/jdk/java/util/zip/EntryCount64k.java` test code to allow for it to pass when the JVM logs any warning when launching an application through `java -jar ...`?
> 
> The proposed change merely relaxes a check to allow for additional content to be present in the launched process' stdout. This doesn't change any of the original goals of the test.
> 
> The test failure was reproduced (on Linux) by launching the test through `jtreg` with `-javaoption:"-XX:+UseNUMA"`. With the proposed change in this PR, the test now passes when launched in that manner (and even without that option).

This pull request has now been integrated.

Changeset: 24c5ff7b
Author:    Jaikiran Pai <jpai at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/24c5ff7ba58cb7cf93df07f81484cd8fae60e31e
Stats:     9 lines in 1 file changed: 7 ins; 0 del; 2 mod

8346871: Improve robustness of java/util/zip/EntryCount64k.java test

Reviewed-by: lancea

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

PR: https://git.openjdk.org/jdk/pull/22892


More information about the core-libs-dev mailing list