-
Bug
-
Resolution: Fixed
-
P4
-
None
-
b01
-
Not verified
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8024134 | 8 | Daniel Fuchs | P4 | Closed | Fixed | b108 |
JDK-8034617 | 7u65 | Daniel Fuchs | P4 | Resolved | Fixed | b01 |
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.
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.
- backported by
-
JDK-8034617 Issues with cached localizedLevelName in java.util.logging.Level
-
- Resolved
-
-
JDK-8024134 Issues with cached localizedLevelName in java.util.logging.Level
-
- Closed
-
- relates to
-
JDK-8027650 missing locales in sun.util.logging.resources
-
- Closed
-
-
JDK-8016127 NLS: logging.properties translatability recommendation
-
- Closed
-