Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8024131

Issues with cached localizedLevelName in java.util.logging.Level

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 7u60
    • None
    • core-libs
    • b01
    • Not verified

        This is a regression introduced in 7u13:

        A new localizedLevelName field was added to j.u.l.Level, which changed the serial form.
        Once set, Level.getLocalizedName() will always return the cached name, regardless of the current locale.

        The change in serial form should not introduce any interop issue, because localizedLevelName will be recomputed if null.

        The fact that once cached, the localizedLevelName is never recomputed is the more problematic issue.

              dfuchs Daniel Fuchs
              dfuchs Daniel Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: