-
Bug
-
Resolution: Duplicate
-
P3
-
None
-
None
There is a small error in the printf parameters that prevents openjdk9 to build in a zero configuration.
This is the build error:
/home/ivan/openjdk9/hotspot/src/cpu/zero/vm/frame_zero.cpp: In member function ‘void frame::zero_print_on_error(int, outputStream*, char*, int) const’:
/home/ivan/openjdk9/hotspot/src/cpu/zero/vm/frame_zero.cpp:216:73: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘intptr_t* {aka long int*}’ [-Werror=format=]
st->print_cr(" " PTR_FORMAT ": %-21s = %s", addr, fieldbuf, valuebuf);
^
cc1plus: all warnings being treated as errors
This is the build error:
/home/ivan/openjdk9/hotspot/src/cpu/zero/vm/frame_zero.cpp: In member function ‘void frame::zero_print_on_error(int, outputStream*, char*, int) const’:
/home/ivan/openjdk9/hotspot/src/cpu/zero/vm/frame_zero.cpp:216:73: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘intptr_t* {aka long int*}’ [-Werror=format=]
st->print_cr(" " PTR_FORMAT ": %-21s = %s", addr, fieldbuf, valuebuf);
^
cc1plus: all warnings being treated as errors
- duplicates
-
JDK-8075967 Zero interpreter asserts for SafeFetch<32,N> calls in ObjectMonitor
- Resolved