A trivial fix to keep jdk/jfr/api/consumer/streaming/TestJVMCrash.java from generating an unnecessary core file.
Ran TestJVMCrash.java on 10 configs in Mach5: linux-aarch64, linux-aarch64-debug, linux-x64, linux-x64-debug, macosx-aarch64, macosx-aarch64-debug, macosx-x64, macosx-x64-debug, windows-x64, and windows-x64-debug. All 10 .jtr files reported: CreateCoredumpOnCrash turned off, no core file dumped Also ran the open ":jdk_jfr" and closed JFR tests on all 10 platforms. No failures. ------------- Commit messages: - 8299241: jdk/jfr/api/consumer/streaming/TestJVMCrash.java generates unnecessary core file Changes: https://git.openjdk.org/jdk20/pull/75/files Webrev: https://webrevs.openjdk.org/?repo=jdk20&pr=75&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8299241 Stats: 8 lines in 2 files changed: 5 ins; 0 del; 3 mod Patch: https://git.openjdk.org/jdk20/pull/75.diff Fetch: git fetch https://git.openjdk.org/jdk20 pull/75/head:pull/75 PR: https://git.openjdk.org/jdk20/pull/75