Uploaded image for project: 'Commons Codec'
  1. Commons Codec
  2. CODEC-70

Thread safety and malicious code safety improvements

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.3
    • 1.4
    • None

    Description

      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.

      Attachments

        1. URLCodec.patch
          0.8 kB
          Sebb

        Issue Links

          Activity

            People

              Unassigned Unassigned
              sebb Sebb
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: