JDK-8364664 : gtest death tests failing on Windows
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 26
  • Priority: P4
  • Status: New
  • Resolution: Unresolved
  • OS: windows
  • Submitted: 2025-08-04
  • Updated: 2025-08-08
Related Reports
Relates :  
Description
The fix for https://bugs.openjdk.org/browse/JDK-8343756 caused the gtest death tests to fail on Windows with the error message "Caught std::exception-derived exception escaping the death test statement. Exception message: unknown file: error: SEH exception with code 0xc0000005 thrown in the test body."
Comments
See https://bugs.openjdk.org/browse/JDK-8185734, and PR text https://github.com/openjdk/jdk/pull/1757#issue-765285610 We should understand first why `--gtest-catch-exceptions=0` does not work in your case. It seems to work for the vendors. How did you execute the gtests?
08-08-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/26661 Date: 2025-08-06 18:05:24 +0000
06-08-2025