JDK-8026027 : Level.parse should return the custom Level instance instead of the mirrored Level
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.logging
  • Affected Version: 7u13
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2013-10-08
  • Updated: 2016-08-16
  • Resolved: 2013-10-09
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 6 JDK 7 JDK 8
6u141Fixed 7u131Fixed 8 b113Fixed
Description
Level.parse should return the custom Level instance that matches the given name.  When a custom Level is added to the known list, it creates a mirrored level instance (containing the same value of the custom Level) to be used by the logging implementation.  However, it is added before the custom Level instance and thus it currently returns the mirrored level.