[
https://issues.apache.org/jira/browse/SUREFIRE-1865?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gian Merlino updated SUREFIRE-1865:
-----------------------------------
Summary: ChecksumCalculator getSha1 does not compute checksums correctly
(was: ChecksumCalculator getSha1 does compute checksums correctly)
> ChecksumCalculator getSha1 does not compute checksums correctly
> ---------------------------------------------------------------
>
> Key: SUREFIRE-1865
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1865
> Project: Maven Surefire
> Issue Type: Bug
> Reporter: Gian Merlino
> Priority: Major
>
> ChecksumCalculator does the following in getSha1:
> {code}
> md.update( configValue.getBytes( ISO_8859_1 ), 0, configValue.length() );
> {code}
> This isn't right, because {{configValue.length()}} is a length in characters,
> not bytes. This will lead to the wrong length being used for any strings that
> contain characters that aren't encoded in a single byte.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)