[jboss-jira] [JBoss JIRA] (LOGMGR-136) java.util.logging.LogManager removed deprecated property change listeners
James Perkins (JIRA)
issues at jboss.org
Thu Mar 15 22:27:00 EDT 2018
[ https://issues.jboss.org/browse/LOGMGR-136?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
James Perkins updated LOGMGR-136:
---------------------------------
Fix Version/s: 2.1.1.Final
(was: 2.1.0.Final)
> 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
> Fix For: 2.1.1.Final
>
>
> 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)
More information about the jboss-jira
mailing list