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-5171) JSON serialization in uima core wrong context, sometimes
Date Fri, 04 Nov 2016 21:41:58 GMT

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

Marshall Schor resolved UIMA-5171.
    Resolution: Fixed

> JSON serialization in uima core wrong context, sometimes
> --------------------------------------------------------
>                 Key: UIMA-5171
>                 URL: https://issues.apache.org/jira/browse/UIMA-5171
>             Project: UIMA
>          Issue Type: Bug
>          Components: Core Java Framework
>    Affects Versions: 2.9.0SDK
>            Reporter: Marshall Schor
>            Assignee: Marshall Schor
>             Fix For: 3.0.0SDKexp, 2.9.1SDK
> Running json test in v3 revealed two bugs in the JSON serialization.
> 1) reset the cache in "sortedUsedTypes" when starting serailization because this may
have changed (in CasSerializerSupport)
> 2) Also in CasSerializerSupport - make the static Comparator used for sorting types used,
public, so it can be used by the JSON serializer code when doing a binary search to see if
a type is present.
> 3) Change the code in JsonCasSerializer which does the binary search to use this same
comparator, because the search must use the same sort ordering.

This message was sent by Atlassian JIRA

View raw message