[jdk8u-dev] Integrated: 8074860: Structured Exception Catcher missing around CreateJavaVM on Windows
Frederic Thevenet
fthevenet at openjdk.org
Wed Feb 21 17:08:01 UTC 2024
On Tue, 20 Feb 2024 18:31:41 GMT, Frederic Thevenet <fthevenet at openjdk.org> wrote:
> Hi,
>
> This is a backport of [JDK-8082592](https://bugs.openjdk.org/browse/JDK-8082592) which adds Structured Exception Handling (SEH) to guard 'JNI_CreateJavaVM' on Windows.
>
> 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.
>
> In addition, I plan to also backport [JDK-8186199](https://bugs.openjdk.org/browse/JDK-8186199) as a follow-up, which does something similar to guard 'JNI_DestroyJavaVM'.
>
> Thanks!
This pull request has now been integrated.
Changeset: ae516a38
Author: Frederic Thevenet <fthevenet at openjdk.org>
Committer: Thomas Stuefe <stuefe at openjdk.org>
URL: https://git.openjdk.org/jdk8u-dev/commit/ae516a3889b2d70005f9ddce073b30791db03864
Stats: 57 lines in 5 files changed: 19 ins; 32 del; 6 mod
8074860: Structured Exception Catcher missing around CreateJavaVM on Windows
Add __try/__except around JNI_CreateJavaVM
Reviewed-by: andrew, stuefe
Backport-of: 704c02a180cafab1da03d5e5cfd09d92bc4cda8c
-------------
PR: https://git.openjdk.org/jdk8u-dev/pull/449
More information about the jdk8u-dev
mailing list