JDK-8186199 : [windows] JNI_DestroyJavaVM not covered by SEH
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 9,10
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: windows
  • Submitted: 2017-08-14
  • Updated: 2025-06-26
  • Resolved: 2017-08-23
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 Other Other
10 b22Fixed openjdk8u412Fixed openjdk8u412,shenandoah8u412Fixed
Related Reports
Relates :  
Description
We miss a __try/__except block around the code in JNI_DestroyJavaVM which means crashes during that function call will not result in an hs-err file. 
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk8u-dev/pull/451 Date: 2024-02-20 19:19:39 +0000
21-02-2024

[jdk8u-fix-request] Approval Request from Frederic Thevenet The motivation for this backport is to help reduce the number of occurrences where a VM might terminate immediately without writing an error log Windows, making root cause analysis very difficult in such cases. Backport is not clean because of conflicting changes introduced subsequently to the original patch. Risk is low. This is a follow-up to backporting JDK-8074860 to 8u
21-02-2024

URL: http://hg.openjdk.java.net/jdk10/jdk10/hotspot/rev/d4f8d54fdb26 User: jwilhelm Date: 2017-08-28 22:58:14 +0000
28-08-2017

URL: http://hg.openjdk.java.net/jdk10/hs/hotspot/rev/d4f8d54fdb26 User: coleenp Date: 2017-08-23 13:49:19 +0000
23-08-2017