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

Add a test to verify that the root logger correctly reports the caller's information

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None

      Description

      JDK-8152389 shows that the root logger doesn't correctly report the caller's information in previous version of the JDK. This has already been fixed in JDK 9 as a side effect of JDK-8140364.

      This issue proposes to add a test to JDK 9 to verify the correct behavior of LogRecord::inferCaller when a message is logged through the root logger.

      This test can be also used as non regression test if/when JDK-8152389 is fixed on previous releases.

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: