--- old/src/hotspot/share/utilities/vmError.cpp 2018-01-29 16:16:27.000000000 -0600 +++ new/src/hotspot/share/utilities/vmError.cpp 2018-01-29 16:16:27.000000000 -0600 @@ -480,7 +480,7 @@ STEP("printing type of error") - switch(_id) { + switch(static_cast(_id)) { case OOM_MALLOC_ERROR: case OOM_MMAP_ERROR: if (_size) {