--- a/jdk/src/java.logging/share/classes/java/util/logging/SimpleFormatter.java Fri Mar 25 19:46:48 2016 +0800
+++ b/jdk/src/java.logging/share/classes/java/util/logging/SimpleFormatter.java Fri Mar 25 17:12:18 2016 +0100
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2000, 2015, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 2000, 2016, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -29,7 +29,7 @@
import java.io.*;
import java.time.ZoneId;
import java.time.ZonedDateTime;
-import jdk.internal.logger.SimpleConsoleLogger;
+import jdk.internal.logger.SurrogateLogger;
/**
* Print a brief summary of the {@code LogRecord} in a human readable
@@ -64,7 +64,7 @@
}
private final String format =
- SimpleConsoleLogger.getSimpleFormat(SimpleFormatter::getLoggingProperty);
+ SurrogateLogger.getSimpleFormat(SimpleFormatter::getLoggingProperty);
/**
* Format the given LogRecord.