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

XMLWordPrintable

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

      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.

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

              Created:
              Updated:
              Resolved: