Issue Details (XML | Word | Printable)

Key: CODEC-70
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Sebb
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Commons Codec

Thread safety and malicious code safety improvements

Created: 19/Jun/08 08:12 PM   Updated: 13/Jul/09 09:20 PM
Return to search
Component/s: None
Affects Version/s: 1.3
Fix Version/s: 1.4

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works URLCodec.patch 2008-06-19 08:13 PM Sebb 0.8 kB

Resolution Date: 01/Jul/08 04:34 AM


 Description  « Hide
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.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Sebb added a comment - 19/Jun/08 08:13 PM
Patch for URLCodec

Henri Yandell added a comment - 01/Jul/08 04:34 AM
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.