There are some initializer lists in Solaris/sparc code which contain implicitly narrowed values. Such are not permitted starting with C++11.
In os::dll_load, the initialization of the arch_t lib_arch variable involves implicit narrowing. The nearby definition of arch_t has some char members where the initializers obtained from the system-supplied Elf32_Ehdr are of type unsigned char.
In nativeInst_sparc.cpp, there are several test functions containing int[] offsets, where the values are all literals, with some being unsigned values with the high bit set.
In os::dll_load, the initialization of the arch_t lib_arch variable involves implicit narrowing. The nearby definition of arch_t has some char members where the initializers obtained from the system-supplied Elf32_Ehdr are of type unsigned char.
In nativeInst_sparc.cpp, there are several test functions containing int[] offsets, where the values are all literals, with some being unsigned values with the high bit set.