JDK-8152436 : Add a test to verify that the root logger correctly reports the caller's information
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.util.logging
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2016-03-22
  • Updated: 2016-04-14
  • Resolved: 2016-04-06
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 9
9 b114Fixed
Related Reports
Relates :  
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.