You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Yandell (JIRA)" <ji...@apache.org> on 2008/07/01 06:35:45 UTC

[jira] Closed: (CODEC-70) Thread safety / malicious code safety improvements

     [ https://issues.apache.org/jira/browse/CODEC-70?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Yandell closed CODEC-70.
------------------------------

       Resolution: Fixed
    Fix Version/s: 1.4

svn ci -m "Applying Sebb's patch - CODEC-70 - to improve thread safety"
Sending        src/java/org/apache/commons/codec/net/URLCodec.java
Transmitting file data .
Committed revision 672992.

> Thread safety / malicious code safety improvements
> --------------------------------------------------
>
>                 Key: CODEC-70
>                 URL: https://issues.apache.org/jira/browse/CODEC-70
>             Project: Commons Codec
>          Issue Type: Improvement
>    Affects Versions: 1.3
>            Reporter: Sebb
>             Fix For: 1.4
>
>         Attachments: URLCodec.patch
>
>
> There are some non-private fields which could be made final.
> This improves thread-safety, as final fields are guaranteed to be published to all threads.
> It also helps guard against malicious or inadvertent changes to the fields.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.