RFR: 8259446: runtime/jni/checked/TestCheckedReleaseArrayElements.java fails with stderr not empty
David Holmes
dholmes at openjdk.java.net
Fri Jan 8 10:38:00 UTC 2021
The test checks stderr is empty.
The test is run in our tier3 CI testing.
Tier3 (and some other tiers) has a configuration that includes the -showversion flag which outputs the version string to stderr.
=> ergo the test fails because stderr is not empty!
Fix: exec the secondary VM without including the jtreg test VM arguments.
I think this is really a bug in our test job definitions and we've been very lucky to not encounter problems with using `-showversion`, but as a quick fix this suffices, and we don't expect any other JVM flags to have any impact here.
Tested by running jtreg with/without -showversion being passed to JVM under test.
Tier3 test run in progress too.
Thanks.
-------------
Commit messages:
- 8259446: runtime/jni/checked/TestCheckedReleaseArrayElements.java fails with stderr not empty
Changes: https://git.openjdk.java.net/jdk/pull/2001/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2001&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8259446
Stats: 5 lines in 1 file changed: 1 ins; 0 del; 4 mod
Patch: https://git.openjdk.java.net/jdk/pull/2001.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/2001/head:pull/2001
PR: https://git.openjdk.java.net/jdk/pull/2001
More information about the hotspot-runtime-dev
mailing list