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 "Ludovic HOCHET (JIRA)" <ji...@apache.org> on 2016/10/09 20:44:20 UTC
[jira] [Commented] (LOG4J2-1638)
org.apache.logging.log4j.message.FormattedMessageTest.tesStringOneArgLocaleFrance_MessageFormatMessage
fails with JDK 9
[ 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: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org