This adds a regression test for a recent fix (JDK-8287073). I've restructured the linux specific JDK code to call a separate static function to enable this test. It'll help future tests too.
Testing: - [x] Container tests continue to pass + GHA - [x] New regression test fails prior the code fix of JDK-8287073 and passes with it ------------- Commit messages: - 8287663 Add a regression test for JDK-8287073 Changes: https://git.openjdk.java.net/jdk/pull/8993/files Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=8993&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8287663 Stats: 36 lines in 2 files changed: 35 ins; 0 del; 1 mod Patch: https://git.openjdk.java.net/jdk/pull/8993.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/8993/head:pull/8993 PR: https://git.openjdk.java.net/jdk/pull/8993