--- old/src/share/vm/logging/logFileOutput.cpp 2017-06-28 15:44:06.000000000 -0700 +++ new/src/share/vm/logging/logFileOutput.cpp 2017-06-28 15:44:05.000000000 -0700 @@ -191,7 +191,7 @@ success = Arguments::atojulong(value_str, &value); if (!success || (value > SIZE_MAX)) { errstream->print_cr("Invalid option: %s must be in range [0, " - SIZE_FORMAT "]", FileSizeOptionKey, SIZE_MAX); + SIZE_FORMAT "]", FileSizeOptionKey, (size_t)SIZE_MAX); success = false; break; } @@ -436,4 +436,3 @@ byte_size_in_proper_unit(_rotate_size), proper_unit_for_byte_size(_rotate_size)); } -