RFR: 8163162: The separation between system loggers and application loggers should take the extension loader in consideration.
Daniel Fuchs
daniel.fuchs at oracle.com
Wed Oct 26 16:15:48 UTC 2016
Hi Roger,
On 26/10/16 16:06, Roger Riggs wrote:
> Hi Daniel,
>
> It is common now to use a lambda for the target of doPriv; its a bit
> lighter weight
> as it becomes a method reference instead of an additional inner class.
Yes - I've been bitten before with using lambda
in logging code - especially in those parts that
can be invoked early during platform class
initialization - so I tend to avoid using them
in places that are in the code path triggered
before the full initialization of the logging
system.
> Looks fine with or without the lambda.
Thanks!
-- daniel
>
> Roger
>
>
> On 10/26/2016 9:58 AM, Daniel Fuchs wrote:
>> Hi,
>>
>> Please find below a small patch for
>>
>> 8163162: The separation between system loggers and application
>> loggers should take the extension loader in consideration.
>> https://bugs.openjdk.java.net/browse/JDK-8163162
>>
>> With the deprivileging of some JDK modules, classes loaded
>> by the Platform class loader should get the same kind of
>> loggers than classes loaded by the Boot class loader (null loader).
>>
>> http://cr.openjdk.java.net/~dfuchs/webrev_8163162/webrev.00/
>>
>> best regards,
>>
>> -- daniel
>
More information about the core-libs-dev
mailing list