uima-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marshall Schor (JIRA)" <...@uima.apache.org>
Subject [jira] [Resolved] (UIMA-3003) TestOptimizedStrings fails on some Javas
Date Mon, 17 Jun 2013 14:39:23 GMT

     [ https://issues.apache.org/jira/browse/UIMA-3003?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Marshall Schor resolved UIMA-3003.

    Resolution: Fixed
> 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

View raw message