Forwardport JDK 20 -> JDK 21 -------------
Commit messages: - Merge remote-tracking branch 'jdk20/master' into Merge_jdk20 - 8298084: Memory leak in Method::build_profiling_method_data - 8296955: Kitchensink.java failed with "double free or corruption (!prev): <addr>" - 8298488: [macos13] tools/jpackage tests failing with "Exit code: 137" on macOS - 8297288: Example code in Scanner class - 8298271: java/security/SignedJar/spi-calendar-provider/TestSPISigned.java failing on Windows - 8298459: Fix msys2 linking and handling out of tree build directory for source zip creation The webrevs contain the adjustments done while merging with regards to each parent branch: - master: https://webrevs.openjdk.org/?repo=jdk&pr=11651&range=00.0 - jdk20: https://webrevs.openjdk.org/?repo=jdk&pr=11651&range=00.1 Changes: https://git.openjdk.org/jdk/pull/11651/files Stats: 181 lines in 15 files changed: 60 ins; 57 del; 64 mod Patch: https://git.openjdk.org/jdk/pull/11651.diff Fetch: git fetch https://git.openjdk.org/jdk pull/11651/head:pull/11651 PR: https://git.openjdk.org/jdk/pull/11651