Uploaded image for project: 'UIMA'
  1. UIMA
  2. UIMA-2099

testUTF16NoSignature(org.apache.uima.pear.util.PearEncodingTest) failing on IBM Java 5

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.3.1SDK
    • 2.4.0SDK
    • None
    • None

    Description

      testUTF16NoSignature(org.apache.uima.pear.util.PearEncodingTest)
      has a solid failure when running with IBM Java 5, but works with Sun/Oracle Java 5.

      Failure happens when translating the first few bytes in a read buffer into UTF-16LE,
      in the method detectXmlFileEncoding in org.apache.uima.pear.XMLUtil, when the number of bytes passed in is 7. Works if this is changed to 6.

      Attachments

        Activity

          People

            schor Marshall Schor
            schor Marshall Schor
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: