You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Marshall Schor (JIRA)" <de...@uima.apache.org> on 2013/06/17 16:17:20 UTC

[jira] [Created] (UIMA-3003) TestOptimizedStrings fails on some Javas

Marshall Schor created UIMA-3003:
------------------------------------

             Summary: TestOptimizedStrings fails on some Javas
                 Key: UIMA-3003
                 URL: https://issues.apache.org/jira/browse/UIMA-3003
             Project: UIMA
          Issue Type: Bug
          Components: Core Java Framework
            Reporter: Marshall Schor
            Assignee: Marshall Schor
             Fix For: 2.4.1SDK


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira