You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@uima.apache.org by "Richard Eckart de Castilho (JIRA)" <de...@uima.apache.org> on 2018/03/21 23:07:00 UTC
[jira] [Commented] (UIMA-5753) Get UIMA compile on Java 9 and
higher
[ https://issues.apache.org/jira/browse/UIMA-5753?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16408741#comment-16408741 ]
Richard Eckart de Castilho commented on UIMA-5753:
--------------------------------------------------
*org.apache.uima.util.CasToInlineXmlTest.testCasToInlineXml()* - Java 9/10 inserts an additional line break. The test could be fixed by telling XMLUnit to ignore whitespace.
Expected:
{noformat}
<Document>
<uima.tcas.DocumentAnnotation sofa="Sofa" begin="0" end="17" language="x-unspecified">
<org.apache.uima.testTypeSystem_arrays.OfStrings sofa="Sofa" begin="0" end="0" f1Strings="[0s,1s,2s]"/>
<org.apache.uima.testTypeSystem_arrays.OfShorts sofa="Sofa" begin="0" end="0" f1Shorts="[0,1,2]"/>1 2 3 4 5 6 7 8 9</uima.tcas.DocumentAnnotation>
</Document>
{noformat}
Actual:
{noformat}
<Document>
<uima.tcas.DocumentAnnotation sofa="Sofa" begin="0" end="17" language="x-unspecified">
<org.apache.uima.testTypeSystem_arrays.OfStrings sofa="Sofa" begin="0" end="0" f1Strings="[0s,1s,2s]"/>
<org.apache.uima.testTypeSystem_arrays.OfShorts sofa="Sofa" begin="0" end="0" f1Shorts="[0,1,2]"/>
1 2 3 4 5 6 7 8 9
</uima.tcas.DocumentAnnotation>
</Document>
{noformat}
> Get UIMA compile on Java 9 and higher
> -------------------------------------
>
> Key: UIMA-5753
> URL: https://issues.apache.org/jira/browse/UIMA-5753
> Project: UIMA
> Issue Type: Improvement
> Components: Core Java Framework
> Affects Versions: 2.10.2SDK
> Reporter: Richard Eckart de Castilho
> Priority: Minor
>
> Since meanwhile Java 10 has been released, seems like a good idea to get the build finally running on Java 9 and higher.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)