RFR: 8346871: Improve robustness of java/util/zip/EntryCount64k.java test
Lance Andersen
lancea at openjdk.org
Sun Dec 29 17:21:34 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).
Marked as reviewed by lancea (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/22892#pullrequestreview-2524982493
More information about the core-libs-dev
mailing list