RFR 8150840: Add an internal system property to control the default level of System.Logger when java.logging is not present.
daniel.fuchs at oracle.com
Fri Mar 25 12:12:48 UTC 2016
On 24/03/16 18:56, Daniel Fuchs wrote:
>> getSimpleFormat should probably check the given key argument is either
>> DEFAULT_FORMAT_PROP_KEY or JUL_FORMAT_PROP_KEY; otherwise throws IAE.
>> Otherwise, this method would pass if key is unexpected key if security
>> manager is absent but fails if security manager is present.
> Oh - right - good idea. Replace the limited doPrivileged with
> explicit argument checking :-) Let's do that.
Here is the new webrev:
Only changes are in SimpleConsoleLogger.Formatting::getSimpleFormat.
More information about the core-libs-dev