Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-1580

CXF uses unpredictable string constructor

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 2.1.1
    • Component/s: None
    • Labels:
      None

      Description

      CXF uses String(byte[], start, length), which uses the current default encoding, which could be anything. There are examples in
      CachedOutputStream. We need a PMD rule for this.

        Attachments

        1. stringprobs.html
          120 kB
          Benson Margulies

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bmargulies Benson Margulies
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: