[Bug 3600] New: [IcedTea8] jni_util.c does not import header file which declares getLastErrorString
bugzilla-daemon at icedtea.classpath.org
bugzilla-daemon at icedtea.classpath.org
Tue Jun 19 02:23:31 UTC 2018
https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=3600
Bug ID: 3600
Summary: [IcedTea8] jni_util.c does not import header file
which declares getLastErrorString
Product: IcedTea
Version: 3.x-hg
Hardware: all
OS: All
Status: NEW
Severity: normal
Priority: P5
Component: IcedTea
Assignee: gnu.andrew at redhat.com
Reporter: gnu.andrew at redhat.com
CC: unassigned at icedtea.classpath.org
/home/andrew/projects/openjdk/upstream/icedtea8/jdk/src/share/native/common/jni_util.c:
In function 'JNU_ThrowByNameWithMessageAndLastError':
/home/andrew/projects/openjdk/upstream/icedtea8/jdk/src/share/native/common/jni_util.c:160:16:
error: implicit declaration of fu
nction 'getLastErrorString'; did you mean 'getErrorString'?
[-Werror=implicit-function-declaration]
size_t n = getLastErrorString(buf, sizeof(buf));
^~~~~~~~~~~~~~~~~~
getErrorString
getLastErrorString is declared in io_util.h which isn't included by jni_util.c
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20180619/dd9e2c20/attachment.html>
More information about the distro-pkg-dev
mailing list