[
https://issues.jboss.org/browse/LOGMGR-136?page=com.atlassian.jira.plugin...
]
James Perkins updated LOGMGR-136:
---------------------------------
Description:
Both the {{addPropertyChangeListener(PropertyChangeListener}} and
{{removePropertyChangeListener(PropertyChangeListener}} were deprecated in Java 8 and
removed in Java 9. There are two new replacement methods
{{addConfigurationListener(Runnable)}} and {{removeConfigurationListener(Runnable)}} that
have been added as replacements.
For the JBoss Log Manager these could likely be no-ops like the originals were.
In Java 9 to {{updateConfiguration()}} methods were added as well. These should also be
overridden with no-ops.
was:
Both the {{addPropertyChangeListener(PropertyChangeListener}} and
{{removePropertyChangeListener(PropertyChangeListener}} were deprecated in Java 8 and
removed in Java 9. There are two new replacement methods
{{addConfigurationListener(Runnable)}} and {{removeConfigurationListener(Runnable)}} that
have been added as replacements.
For the JBoss Log Manager these could likely be no-ops like the originals were.
java.util.logging.LogManager removed deprecated property change
listeners
-------------------------------------------------------------------------
Key: LOGMGR-136
URL:
https://issues.jboss.org/browse/LOGMGR-136
Project: JBoss Log Manager
Issue Type: Sub-task
Reporter: James Perkins
Both the {{addPropertyChangeListener(PropertyChangeListener}} and
{{removePropertyChangeListener(PropertyChangeListener}} were deprecated in Java 8 and
removed in Java 9. There are two new replacement methods
{{addConfigurationListener(Runnable)}} and {{removeConfigurationListener(Runnable)}} that
have been added as replacements.
For the JBoss Log Manager these could likely be no-ops like the originals were.
In Java 9 to {{updateConfiguration()}} methods were added as well. These should also be
overridden with no-ops.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)