Please review this test addition as it would have helped discover a regression when https://bugs.openjdk.org/browse/JDK-8269039 got introduced and subsequently backported. What's more, it might help discover similar issues going forward. Thoughts?
Testing: Manually produced a build without [JDK-8269039](https://bugs.openjdk.org/browse/JDK-8269039). Test fails without the fix, passes after. ------------- Commit messages: - 8298108: Add a regression test for JDK-8297684 Changes: https://git.openjdk.org/jdk/pull/11515/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=11515&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8298108 Stats: 177 lines in 3 files changed: 177 ins; 0 del; 0 mod Patch: https://git.openjdk.org/jdk/pull/11515.diff Fetch: git fetch https://git.openjdk.org/jdk pull/11515/head:pull/11515 PR: https://git.openjdk.org/jdk/pull/11515