RFR: 8314186: runtime/8176717/TestInheritFD.java failed with "Log file was leaked"

Johan Sjölen jsjolen at openjdk.org
Tue Jan 9 14:56:32 UTC 2024


Hi,

This PR intends to make the test a bit more sturdy by looking for both the success string and the failure string, reporting that the test messed up if neither are found. I also removed the extra newline at the end of the file and did some special reporting in case of a `TimeoutException`.

Thanks!

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

Commit messages:
 - Else the branch
 - Fix all of the compiler errors
 - Check inherit FD

Changes: https://git.openjdk.org/jdk/pull/17325/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17325&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8314186
  Stats: 26 lines in 1 file changed: 19 ins; 1 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/17325.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/17325/head:pull/17325

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


More information about the hotspot-runtime-dev mailing list