You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by "Matt Sicker (JIRA)" <ji...@apache.org> on 2016/03/09 18:42:41 UTC

[jira] [Closed] (LOG4J2-802) Marker.isInstanceOf may not terminate if parent Markers form a cycle

     [ https://issues.apache.org/jira/browse/LOG4J2-802?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matt Sicker closed LOG4J2-802.
------------------------------

> Marker.isInstanceOf may not terminate if parent Markers form a cycle
> --------------------------------------------------------------------
>
>                 Key: LOG4J2-802
>                 URL: https://issues.apache.org/jira/browse/LOG4J2-802
>             Project: Log4j 2
>          Issue Type: Bug
>          Components: API
>    Affects Versions: 2.0.2
>            Reporter: Matt Sicker
>            Priority: Minor
>              Labels: marker
>
> Say I have a marker A which has parents B and C. Say marker B has the parent A. Now suppose I'm checking if A is an instance of C. Depending on which order we added B and C to A, we may recurse down the B path first which would give us A ad infinitum.
> Now the way the API Markers are written shouldn't allow such a scenario to happen. However, such a scenario may be possible with user-defined Markers. Due to the theoretical nature of this problem, I think this is a rather minor issue.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org