[
https://issues.apache.org/jira/browse/CODEC-198?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14298732#comment-14298732
]
Sebastian Rodriguez commented on CODEC-198:
-------------------------------------------
Added patch, which is only an edit of the java doc to reflect the fact that
this class is not thread-safe anymore.
> 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)