8144214: Some log messages will be discarded when VM is bootstrapping
Use logp instead of log. Reviewed-by: dfuchs
This commit is contained in:
parent
ebceee6674
commit
d3f047f9cf
@ -389,9 +389,9 @@ public final class BootstrapLogger implements Logger, PlatformLogger.Bridge,
|
|||||||
} else {
|
} else {
|
||||||
if (msgSupplier != null) {
|
if (msgSupplier != null) {
|
||||||
if (thrown != null) {
|
if (thrown != null) {
|
||||||
logger.log(platformLevel, sourceClass, sourceMethod, thrown, msgSupplier);
|
logger.logp(platformLevel, sourceClass, sourceMethod, thrown, msgSupplier);
|
||||||
} else {
|
} else {
|
||||||
logger.log(platformLevel,sourceClass, sourceMethod, msgSupplier);
|
logger.logp(platformLevel, sourceClass, sourceMethod, msgSupplier);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
// BootstrapLoggers are never localized so we can safely
|
// BootstrapLoggers are never localized so we can safely
|
||||||
|
Loading…
Reference in New Issue
Block a user