[
https://issues.apache.org/jira/browse/LOG4J2-1437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Remko Popma updated LOG4J2-1437:
--------------------------------
Summary: ObjectMessage and ReusableObjectMessage should avoid calling
toString() on auto-boxed primitives (was: ObjectMessage should avoid calling
toString() on auto-boxed primitives)
> ObjectMessage and ReusableObjectMessage should avoid calling toString() on
> auto-boxed primitives
> ------------------------------------------------------------------------------------------------
>
> Key: LOG4J2-1437
> URL: https://issues.apache.org/jira/browse/LOG4J2-1437
> Project: Log4j 2
> Issue Type: Improvement
> Components: API
> Affects Versions: 2.6.1
> Reporter: Remko Popma
> Assignee: Remko Popma
> Fix For: 2.6.2
>
>
> In the {{formatTo(StringBuilder)}} message, we should unbox the boxed
> primitives and append the primitive value to the StringBuilder to avoid
> allocating additional temporary objects.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]