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/08 18:24:40 UTC
[jira] [Closed] (LOG4J2-1310) JndiLookup mindlessly casts to String
and should use String.valueOf()
[ https://issues.apache.org/jira/browse/LOG4J2-1310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Matt Sicker closed LOG4J2-1310.
-------------------------------
Resolution: Fixed
In master.
> JndiLookup mindlessly casts to String and should use String.valueOf()
> ---------------------------------------------------------------------
>
> Key: LOG4J2-1310
> URL: https://issues.apache.org/jira/browse/LOG4J2-1310
> Project: Log4j 2
> Issue Type: Bug
> Components: Lookups
> Affects Versions: 2.5
> Reporter: Matt Sicker
> Assignee: Matt Sicker
> Fix For: 2.6
>
>
> The value returned from Context.lookup() is cast to String which can cause problems if the value is, well, anything else.
--
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