Details
-
Bug
-
Resolution: Fixed
-
P3
-
15
-
b14
-
generic
-
windows
Backports
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8256739 | 13.0.6 | Ekaterina Vergizova | P3 | Resolved | Fixed | b01 |
JDK-8241732 | 11.0.8 | Matthias Baesken | P3 | Resolved | Fixed | b01 |
Description
The recent change
8238676: jni crashes on accessing it from process exit hook
changed
test/hotspot/jtreg/runtime/jni/atExit/libatExit.c
but it looks like we need on 32bit Windows
JNIEXPORT jint JNICALL
JNI_OnLoad(JavaVM *jvm, void *reserved) {
to compile.
Otherwise we get :
libatExit.c(107): error C2373: 'JNI_OnLoad': redefinition; different type modifiers
d:\output-jdk-dev\support\modules_include\java.base\jni.h(1970): note: see declaration of 'JNI_OnLoad'
8238676: jni crashes on accessing it from process exit hook
changed
test/hotspot/jtreg/runtime/jni/atExit/libatExit.c
but it looks like we need on 32bit Windows
JNIEXPORT jint JNICALL
JNI_OnLoad(JavaVM *jvm, void *reserved) {
to compile.
Otherwise we get :
libatExit.c(107): error C2373: 'JNI_OnLoad': redefinition; different type modifiers
d:\output-jdk-dev\support\modules_include\java.base\jni.h(1970): note: see declaration of 'JNI_OnLoad'
Attachments
Issue Links
- backported by
-
JDK-8241732 Windows 32bit compile error after 8238676
-
- Resolved
-
-
JDK-8256739 Windows 32bit compile error after 8238676
-
- Resolved
-
- relates to
-
JDK-8238676 jni crashes on accessing it from process exit hook
-
- Resolved
-