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

Jason Mehrens jason_mehrens at hotmail.com
Tue Mar 22 16:11:07 UTC 2016


Hi Daniel,

I think we just need to add a test where a subclass logger logs the message with the root logger as the parent.  Should be no need to register that logger with the LogManager.
Not sure if it is worth checking that custom filters installed on handlers or logger and or formatters fool anything.

Regards,

Jason

________________________________________
From: core-libs-dev <core-libs-dev-bounces at openjdk.java.net> on behalf of Daniel Fuchs <daniel.fuchs at oracle.com>
Sent: Tuesday, March 22, 2016 10:03 AM
To: core-libs-dev
Subject: RFR: 8152436: Add a test to verify that the root logger correctly      reports the caller's information

Hi,

Please find below a new test that verifies that JDK-8152389 does
not occur in JDK 9.

bug:
8152436: Add a test to verify that the root logger correctly
          reports the caller's information
https://bugs.openjdk.java.net/browse/JDK-8152436

Issue being verified by the test:
https://bugs.openjdk.java.net/browse/JDK-8152389

Webrev (test only):
http://cr.openjdk.java.net/~dfuchs/webrev_8152436/webrev.00/

best regards,

-- daniel



More information about the core-libs-dev mailing list