After JDK-8291945 the following build error was encountered:
22:23:08 src/hotspot/os/aix/os_aix.cpp:2305:19: error: cannot initialize a parameter of type 'size_t' (aka 'unsigned long') with an lvalue of type 'int ()'
22:23:08 _page_sizes.add(os::vm_page_size);
22:23:08 ^~~~~~~~~~~~~~~~
22:23:08 src/hotspot/share/runtime/os.hpp:176:21: note: passing argument to parameter 'pagesize' here
22:23:08 void add(size_t pagesize);
22:23:08 ^
22:23:08 1 error generated.
22:23:08 Error while processing src/hotspot/os/aix/os_aix.cpp.
22:23:08 src/hotspot/os/aix/os_aix.cpp:2305:19: error: cannot initialize a parameter of type 'size_t' (aka 'unsigned long') with an lvalue of type 'int ()'
22:23:08 _page_sizes.add(os::vm_page_size);
22:23:08 ^~~~~~~~~~~~~~~~
22:23:08 src/hotspot/share/runtime/os.hpp:176:21: note: passing argument to parameter 'pagesize' here
22:23:08 void add(size_t pagesize);
22:23:08 ^
22:23:08 1 error generated.
22:23:08 Error while processing src/hotspot/os/aix/os_aix.cpp.
- duplicates
-
JDK-8292363 AIX build fails in os_aix.cpp
-
- Closed
-
- relates to
-
JDK-8291945 Add OSInfo API for static OS information
-
- Resolved
-