-
Bug
-
Resolution: Fixed
-
P4
-
openjdk7u, 8
-
master
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8226186 | openjdk8u232 | Andrew Hughes | P4 | Resolved | Fixed | b01 |
../../../src/share/native/common/jni_util.c: In function 'JNU_ThrowByNameWithMessageAndLastError':
../../../src/share/native/common/jni_util.c:160:16: error: implicit declaration of function 'getLastErrorString'; did you mean 'JVM_GetLastErrorString'? [-Werror=implicit-function-declaration]
size_t n = getLastErrorString(buf, sizeof(buf));
^~~~~~~~~~~~~~~~~~
JVM_GetLastErrorString
8157749 introduced use of GetLastErrorString in jni_util.c, but didn't add an include for io_util.h where it is declared
../../../src/share/native/common/jni_util.c:160:16: error: implicit declaration of function 'getLastErrorString'; did you mean 'JVM_GetLastErrorString'? [-Werror=implicit-function-declaration]
size_t n = getLastErrorString(buf, sizeof(buf));
^~~~~~~~~~~~~~~~~~
JVM_GetLastErrorString
8157749 introduced use of GetLastErrorString in jni_util.c, but didn't add an include for io_util.h where it is declared
- backported by
-
JDK-8226186 Implicit function declaration in jni_util.c
- Resolved