RFR: 8043306 - Provide a replacement for the API that allowed to listen for LogManager configuration changes
Daniel Fuchs
daniel.fuchs at oracle.com
Wed Sep 10 09:49:51 UTC 2014
Hi,
Please find below a proposed patch for
8043306 - Provide a replacement for the API that allowed to listen
for LogManager configuration changes
https://bugs.openjdk.java.net/browse/JDK-8043306
Proposed Patch:
http://cr.openjdk.java.net/~dfuchs/webrev_8043306/webrev.00/
JDK-8029805 Removed LogManager addPropertyChangeListener
and removePropertyChangeListener methods which were
deprecated. These methods were deprecated in Java SE 8 and
flagged for removal because they were problematic for
modularity efforts.
The idea was that an application needing to be informed of
configuration changes could subclass LogManager and override
readConfiguration.
The proposed patch adds to new methods to LogManager:
public void
LogManager.addConfigurationListener(LogManager.ConfigurationListener
listener);
public void
LogManager.removeConfigurationListener(LogManager.ConfigurationListener
listener);
These methods can be used by those applications for which subclassing
LogManager would be too impractical.
best regards,
-- daniel
More information about the core-libs-dev
mailing list