Forwardport JDK 17 -> JDK 18 -------------
Commit messages: - Merge - 8269722: NPE in HtmlDocletWriter - 8270109: ProblemList 4 SA tests on macOS-aarch64 - 6766844: ByteArrayInputStream#read with a byte array of length 0 not consistent with InputStream when at EOF - 8269738: AssertionError when combining pattern matching and function closure - 8269828: corrections in some instruction patterns for KNL x86 platform - 8268766: Desugaring of pattern matching enum switch should be improved - 8270006: Switches with 'case null:' should be exhaustive - 8269746: C2: assert(!in->is_CFG()) failed: CFG Node with no controlling input? The webrevs contain the adjustments done while merging with regards to each parent branch: - master: https://webrevs.openjdk.java.net/?repo=jdk&pr=4734&range=00.0 - jdk17: https://webrevs.openjdk.java.net/?repo=jdk&pr=4734&range=00.1 Changes: https://git.openjdk.java.net/jdk/pull/4734/files Stats: 675 lines in 22 files changed: 514 ins; 69 del; 92 mod Patch: https://git.openjdk.java.net/jdk/pull/4734.diff Fetch: git fetch https://git.openjdk.java.net/jdk pull/4734/head:pull/4734 PR: https://git.openjdk.java.net/jdk/pull/4734