RFR: 8373293: Change the exception handling in TestNestHostErrorWithMultiThread.java

David Holmes dholmes at openjdk.org
Tue Dec 9 01:35:07 UTC 2025


To prevent the failure mode seen in [JDK-8372988](https://bugs.openjdk.org/browse/JDK-8372988) we should prevent thread test threads from being terminated by uncaught exceptions, and allow the main thread to detect and throw all errors. That way we should see what the actual failure is.

Testing:
 - tiers 1-4 (sanity)

Thanks

-------------

Commit messages:
 - 8373293: Change the exception handling in TestNestHostErrorWithMultiThread.java

Changes: https://git.openjdk.org/jdk/pull/28713/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=28713&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8373293
  Stats: 40 lines in 1 file changed: 19 ins; 3 del; 18 mod
  Patch: https://git.openjdk.org/jdk/pull/28713.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/28713/head:pull/28713

PR: https://git.openjdk.org/jdk/pull/28713


More information about the hotspot-runtime-dev mailing list