SimpleConsoleLogger should protect against MissingResourceException

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 10
    • Affects Version/s: 9
    • Component/s: core-libs
    • None

      java.util.logging Formatters will traditionally catch MissingResourceException when invoking ResourceBundle::getString, and use the original key string as message if a MissingResourceException is thrown.

      The SimpleConsoleLogger however does not have this logic and will throw a MissingResourceException in that case. For the sake of uniformity it would be better if SimpleConsoleLogger behaved in the same way that java.util.logging does.
      Also System.Logger::log doesn't have any @throws MissingResourceException.

            Assignee:
            Daniel Fuchs
            Reporter:
            Daniel Fuchs
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: