8144214: Some log messages will be discarded when VM is bootstrapping
authormli
Wed, 02 Dec 2015 19:27:16 -0800
changeset 34427 38c26b9b411c
parent 34426 8da29db0cf2e
child 34428 39f1caf048c3
8144214: Some log messages will be discarded when VM is bootstrapping Summary: use logp instead of log. Reviewed-by: dfuchs
jdk/src/java.base/share/classes/jdk/internal/logger/BootstrapLogger.java
--- a/jdk/src/java.base/share/classes/jdk/internal/logger/BootstrapLogger.java	Thu Dec 03 11:57:14 2015 +0000
+++ b/jdk/src/java.base/share/classes/jdk/internal/logger/BootstrapLogger.java	Wed Dec 02 19:27:16 2015 -0800
@@ -389,9 +389,9 @@
             } else {
                 if (msgSupplier != null) {
                     if (thrown != null) {
-                        logger.log(platformLevel, sourceClass, sourceMethod, thrown, msgSupplier);
+                        logger.logp(platformLevel, sourceClass, sourceMethod, thrown, msgSupplier);
                     } else {
-                        logger.log(platformLevel,sourceClass, sourceMethod,  msgSupplier);
+                        logger.logp(platformLevel, sourceClass, sourceMethod, msgSupplier);
                     }
                 } else {
                     // BootstrapLoggers are never localized so we can safely