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

Level.parse should return the custom Level instance instead of the mirrored Level

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 7u13
    • Fix Version/s: 8
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Introduced In Build:
      b06
    • Introduced In Version:
    • Resolved In Build:
      b113
    • Verification:
      Verified

      Backports

        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.

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mchung Mandy Chung
                  Reporter:
                  mchung Mandy Chung
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: