The test depends on the jtreg stack and should be updated. The fix is backported from loom repo where jtreg with CODETOOLS-7903373 is used. Tested with current promoted jtreg (without CODETOOLS-7903373) by running test.
------------- Commit messages: - 8304314: StackWalkTest.java fails after CODETOOLS-7903373 Changes: https://git.openjdk.org/jdk/pull/13058/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13058&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8304314 Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/13058.diff Fetch: git fetch https://git.openjdk.org/jdk pull/13058/head:pull/13058 PR: https://git.openjdk.org/jdk/pull/13058