6908299: Missed changes for 6664512 during the merge with 6879044
Reviewed-by: mchung, art
--- a/jdk/src/share/classes/sun/util/logging/PlatformLogger.java Wed Jul 05 17:04:28 2017 +0200
+++ b/jdk/src/share/classes/sun/util/logging/PlatformLogger.java Wed Dec 23 01:22:11 2009 +0300
@@ -535,6 +535,10 @@
}
void doLog(int level, String msg, Object... params) {
+ int paramsNumber = (params != null) ? params.length : 0;
+ for (int i = 0; i < paramsNumber; i++) {
+ params[i] = String.valueOf(params[i]);
+ }
LoggingSupport.log(javaLogger, levelObjects.get(level), msg, params);
}