提交 0c420346 编写于 作者: M mchung

8007611: logging behavior in applet changed

Reviewed-by: alanb, jgish
上级 01afc402
...@@ -395,7 +395,10 @@ public class LogManager { ...@@ -395,7 +395,10 @@ public class LogManager {
context = userContext; context = userContext;
} else { } else {
context = new LoggerContext(); context = new LoggerContext();
context.addLocalLogger(manager.rootLogger); // during initialization, rootLogger is null when
// instantiating itself RootLogger
if (manager.rootLogger != null)
context.addLocalLogger(manager.rootLogger);
} }
javaAwtAccess.put(ecx, LoggerContext.class, context); javaAwtAccess.put(ecx, LoggerContext.class, context);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册