RFR: 8191033: Regression in logging.properties: specifying .handlers= for root logger (instead of handlers=) no longer works (original) (raw)

Daniel Fuchs daniel.fuchs at oracle.com
Fri Dec 8 10:29:48 UTC 2017


On 07/12/2017 19:15, Martin Buchholz wrote:

I'm not a logging expert, but this change Looks Good To Me.

Thanks Martin!

> configure => configured + // For backward compatibility: add any handlers configure using

Fixed. Thanks for spotting that!

---

A bunch of "handler" should be changed to "handlers"

Oh :-( I am ashamed. I should have proof read it. Fixed.

+        // Verify that exactly one of the two handler is a custom.Handler +        // Verify that exactly one of the two handler is a custom.DotHandler +        // Verify that the two handler have an id of '1'

-- This code makes me think you use the identity of the Longs, but it seems you don't, so I would just get rid of these and use e.g. 3L instead of THREE.

Done.

+    public static final Long ONE = 1L; +    public static final Long TWO = 2L; +    public static final Long THREE = 3L;

I will push shortly - but for the record I have copied the final webrev here: http://cr.openjdk.java.net/~dfuchs/webrev_8191033/webrev.01

best regards,

-- daniel



More information about the core-libs-dev mailing list