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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 9
    • 9
    • 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.

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

              Created:
              Updated:
              Resolved: