[jboss-jira] [JBoss JIRA] (LOGMGR-116) Correct or remove usage of finalize in LoggerNode
David Lloyd (JIRA)
issues at jboss.org
Tue Oct 7 13:56:12 EDT 2014
[ https://issues.jboss.org/browse/LOGMGR-116?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13009478#comment-13009478 ]
David Lloyd commented on LOGMGR-116:
------------------------------------
The API itself makes certain contracts in terms of finalization. Like for example if I get a logger, set a level on it, and then log a message, I am not guaranteed that the logger will retain the level setting for the duration of the log call (though in general, it probably will, because there are locks etc. all over the place) because the API specifies that "It is important to note that the Logger returned by one of the getLogger factory methods may be garbage collected at any time if a strong reference to the Logger is not kept."
> Correct or remove usage of finalize in LoggerNode
> -------------------------------------------------
>
> Key: LOGMGR-116
> URL: https://issues.jboss.org/browse/LOGMGR-116
> Project: JBoss Log Manager
> Issue Type: Task
> Reporter: Jason Greene
> Assignee: James Perkins
> Fix For: 1.4.4.Final, 1.5.4.Final
>
>
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)
More information about the jboss-jira
mailing list