Relates :
|
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.