hg: jdk10/jdk10/jdk: 8179222: SimpleConsoleLogger should protect against MissingResourceException

daniel.fuchs at oracle.com daniel.fuchs at oracle.com
Tue Apr 25 10:56:04 UTC 2017


Changeset: d61b2ccb9e70
Author:    dfuchs
Date:      2017-04-25 11:54 +0100
URL:       http://hg.openjdk.java.net/jdk10/jdk10/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-all-changes mailing list