RfR - 8080933: LogManager.demandSystemLogger should accept a 'caller' argument.
Daniel Fuchs
daniel.fuchs at oracle.com
Mon Jun 15 08:26:41 UTC 2015
Hi,
Please find below a fix for
https://bugs.openjdk.java.net/browse/JDK-8080933
8080933: LogManager.demandSystemLogger should accept a
'caller' argument.
http://cr.openjdk.java.net/~dfuchs/webrev_8080933/webrev.00
LogManager.demandLogger accepts a caller argument which is later used to
resolve ResourceBundle. However LogManager.demandSystemLogger doesn't
have that caller argument - which could later lead to some inconsistency
when resource bundles are resolved.
As for now this is more an inconsistency than an issue since by
definition the caller that creates a system logger is a system class
in the bootstrap class loader.
However it could become an issue in a modular JDK - where different
system classes may come from different modules and where information
on the actual system caller class may be needed.
best regards,
-- daniel
More information about the core-libs-dev
mailing list