-
Type:
Bug
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: 14
-
Component/s: hotspot
-
b06
-
ppc
-
aix
| Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
|---|---|---|---|---|---|---|
| JDK-8230148 | 11.0.5 | Matthias Baesken | P4 | Resolved | Fixed | b05 |
Currently we use %llu printf-format specifiers at 2 places in loadlib_aix.cpp where we output size_t variables .
This leads to warnings with xlc16/xlclang :
/nightly/jdk/src/hotspot/os/aix/loadlib_aix.cpp:210:48: warning: format specifies type 'unsigned long long' but the argument
has type 'size_t' (aka 'unsigned long') [-Wformat]
trcVerbose("loadquery buffer size is %llu.", buflen);
~~~~ ^~~~~~
%zu
We should use correct format specifiers (or add a cast).
This leads to warnings with xlc16/xlclang :
/nightly/jdk/src/hotspot/os/aix/loadlib_aix.cpp:210:48: warning: format specifies type 'unsigned long long' but the argument
has type 'size_t' (aka 'unsigned long') [-Wformat]
trcVerbose("loadquery buffer size is %llu.", buflen);
~~~~ ^~~~~~
%zu
We should use correct format specifiers (or add a cast).
- backported by
-
JDK-8230148 adjust format specifiers in loadlib_aix.cpp
-
- Resolved
-