AIX build was failed after JDK-8290840
================================
In file included from src/hotspot/share/interpreter/abstractInterpreter.cpp:27:
In file included from src/hotspot/share/asm/macroAssembler.inline.hpp:30:
In file included from src/hotspot/cpu/ppc/macroAssembler_ppc.inline.hpp:37:
In file included from src/hotspot/share/runtime/os.inline.hpp:31:
src/hotspot/os_cpu/aix_ppc/os_aix_ppc.inline.hpp:34:51: error: cannot initialize a parameter of type 'void *' with an lvalue of type 'const void *'
return os::Aix::platform_print_native_stack(st, context, buf, buf_size);
^~~~~~~
src/hotspot/os/aix/os_aix.hpp:180:67: note: passing argument to parameter 'context' here
static bool platform_print_native_stack(outputStream* st, void* context, char *buf, int buf_size);
^
1 error generated.
================================
"void *" should be "const void *".
================================
In file included from src/hotspot/share/interpreter/abstractInterpreter.cpp:27:
In file included from src/hotspot/share/asm/macroAssembler.inline.hpp:30:
In file included from src/hotspot/cpu/ppc/macroAssembler_ppc.inline.hpp:37:
In file included from src/hotspot/share/runtime/os.inline.hpp:31:
src/hotspot/os_cpu/aix_ppc/os_aix_ppc.inline.hpp:34:51: error: cannot initialize a parameter of type 'void *' with an lvalue of type 'const void *'
return os::Aix::platform_print_native_stack(st, context, buf, buf_size);
^~~~~~~
src/hotspot/os/aix/os_aix.hpp:180:67: note: passing argument to parameter 'context' here
static bool platform_print_native_stack(outputStream* st, void* context, char *buf, int buf_size);
^
1 error generated.
================================
"void *" should be "const void *".
- relates to
-
JDK-8290840 Refactor the "os" class
-
- Resolved
-