hg: jdk10/sandbox/jdk: 8179222: SimpleConsoleLogger should protect against MissingResourceException
chris.hegarty at oracle.com
chris.hegarty at oracle.com
Tue Apr 25 11:01:57 UTC 2017
Changeset: d61b2ccb9e70
Author: dfuchs
Date: 2017-04-25 11:54 +0100
URL: http://hg.openjdk.java.net/jdk10/sandbox/jdk/rev/d61b2ccb9e70
8179222: SimpleConsoleLogger should protect against MissingResourceException
Summary: SimpleConsoleLogger now emulates the behaviour of java.util.logging.Formatter, trapping MissingResourceException and using the key as the message if the ResourceBundle has no match for that key.
Reviewed-by: naoto
! src/java.base/share/classes/jdk/internal/logger/SimpleConsoleLogger.java
! test/java/lang/System/LoggerFinder/LoggerFinderAPI/LoggerFinderAPI.java
More information about the jdk10-sandbox-changes
mailing list