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

TestOptimizedStrings fails on some Javas

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.4.1SDK
    • Core Java Framework
    • None

    Description

      The tests for Optimized strings check on how multiple strings can be packed into one shared char[]. To do some of the tests, it needs to check the offset of the String chars in the shared array, which is not available, normally. To do this it uses reflection of the "offset" field of the String implementation. IF the String implementation for a particular Java doesn't have this field, the test fails. Change this to make the test continue with a warning message to the error output stream that part of the test is being skipped.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: