diff -r a9b3c1984a01 -r db692d3ebbcc hotspot/src/os/posix/vm/os_posix.cpp --- a/hotspot/src/os/posix/vm/os_posix.cpp Mon Dec 28 23:11:01 2015 -0800 +++ b/hotspot/src/os/posix/vm/os_posix.cpp Mon Dec 21 16:58:29 2015 +0000 @@ -792,7 +792,11 @@ strncpy(buffer, "none", size); const struct { - int i; + // NB: i is an unsigned int here because SA_RESETHAND is on some + // systems 0x80000000, which is implicitly unsigned. Assignining + // it to an int field would be an overflow in unsigned-to-signed + // conversion. + unsigned int i; const char* s; } flaginfo [] = { { SA_NOCLDSTOP, "SA_NOCLDSTOP" },