[
https://issues.apache.org/jira/browse/CODEC-198?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebastian Rodriguez updated CODEC-198:
--------------------------------------
Attachment: CODEC-198.patch
patch
> Base64 API doc is wrong about thread safety
> -------------------------------------------
>
> Key: CODEC-198
> URL: https://issues.apache.org/jira/browse/CODEC-198
> Project: Commons Codec
> Issue Type: Bug
> Affects Versions: 1.10
> Environment: not applicable
> Reporter: Sebastian Rodriguez
> Fix For: 1.x
>
> Attachments: CODEC-198.patch
>
>
> Going to Binary64 API doc here:
> http://commons.apache.org/proper/commons-codec/archives/1.10/apidocs/index.html
> it states "This class is thread-safe"
> Nonetheless, encode() was made not thread-safe in release 1.7 here:
> http://commons.apache.org/proper/commons-codec/changes-report.html
> "Base64 encode() method is no longer thread-safe, breaking clients using it
> as a shared BinaryEncoder"
> Documentation need to be changed to reflect that, as users of the library
> might use it considering it's thread-safe
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)