Forwardport JDK 17 -> JDK 18 -------------
Commit messages: - Merge - 8271350: runtime/Safepoint tests use OutputAnalyzer::shouldMatch instead of shouldContaint - 8270866: NPE in DocTreePath.getTreePath() - 8270491: SEGV at read_string_field(oopDesc*, char const*, JavaThread*)+0x54 - 8271223: two runtime/ClassFile tests don't check exit code The merge commit only contains trivial merges, so no merge-specific webrevs have been generated. Changes: https://git.openjdk.java.net/jdk/pull/4914/files Stats: 205 lines in 14 files changed: 114 ins; 53 del; 38 mod Patch: https://git.openjdk.java.net/jdk/pull/4914.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/4914/head:pull/4914 PR: https://git.openjdk.java.net/jdk/pull/4914