Affects Version/s: 1.3
Fix Version/s: 1.4
any platform whose default encoding is not a superset of ASCII, e.g. UTF-16 or EBCDIC
Both the library itself and many of its tests are utterly dependent on the JVM's default charset. For example, DigestUtils calls String.getBytes() to convert an input string to a byte array, happily delivering different digests for the same input string if run on different platforms.
If you want to try out the havor yourself, just run the unit tests in a JVM with UTF-16, e.g. by adding the line
to the configuration of the Surefire Plugin in the POM.
|Workflow||jira [ 12435240 ]||Default workflow, editable Closed status [ 12601635 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Resolution||Fixed [ 1 ]|
|Fix Version/s||1.4 [ 12311779 ]|
|Comment||[ Add byte conversion methods ]|