[
https://issues.apache.org/jira/browse/LOG4J2-1638?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15560590#comment-15560590
]
Ludovic HOCHET commented on LOG4J2-1638:
----------------------------------------
Quick additional test shows that in JDK 9 the space is 0xA0 (non breakable
space) rather than 0x20.
> org.apache.logging.log4j.message.FormattedMessageTest.tesStringOneArgLocaleFrance_MessageFormatMessage
> fails with JDK 9
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: LOG4J2-1638
> URL: https://issues.apache.org/jira/browse/LOG4J2-1638
> Project: Log4j 2
> Issue Type: Bug
> Components: API
> Affects Versions: 2.7
> Environment: OpenJDK 9 (roughly equivalent to Oracle JDK 9+139)
> Reporter: Ludovic HOCHET
> Priority: Minor
>
> org.apache.logging.log4j.message.FormattedMessageTest.tesStringOneArgLocaleFrance_MessageFormatMessage
> fails with JDK 9:
> tesStringOneArgLocaleFrance_MessageFormatMessage(org.apache.logging.log4j.message.FormattedMessageTest)
> Time elapsed: 0.115 sec <<< FAILURE!
> org.junit.ComparisonFailure: expected:<Test message 12,00[ ]€> but was:<Test
> message 12,00[ ]€>
> at
> org.apache.logging.log4j.message.FormattedMessageTest.tesStringOneArgLocaleFrance_MessageFormatMessage(FormattedMessageTest.java:74)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]