[
https://issues.jboss.org/browse/ELY-102?page=com.atlassian.jira.plugin.sy...
]
Jan Kalina edited comment on ELY-102 at 2/10/15 4:08 PM:
---------------------------------------------------------
Ok, problem is not in Digest implementation but in test - `String` constructor and its
method `getBytes()` must be called with UTF-8 encoding as param. In other cases is
conversion done in encoding depending on environment - test fails on Windows or if started
with different encoding, as David noticed:
`LANG=ISO-8859-1 mvn install`
was (Author: honza889):
Ok, problem is not in Digest implementation but in test - `String` constructor and its
method `getBytes()` must be called with UTF-8 encoding as param. In other cases is
conversion done in encoding depending on environment - test fails on Windows or if started
as:
`LANG=ISO-8859-1 mvn install`
MD5 Compatibility tests failing on Windows
------------------------------------------
Key: ELY-102
URL:
https://issues.jboss.org/browse/ELY-102
Project: WildFly Elytron
Issue Type: Bug
Components: SASL
Reporter: David Lloyd
Assignee: Jan Kalina
Fix For: 1.0.0.Alpha1
The following tests fail on Windows or any platform which does not have UTF-8 as its
default encoding:
* CompatibilityClientTest.testUtf8Charset
* CompatibilityServerTest.testUtf8Charset
Can be reproduced on Linux on the command line by setting the LANG environment variable
to something other than UTF_8, like ISO-8859-1.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)