You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Harish Kasina (JIRA)" <ji...@apache.org> on 2015/05/07 12:11:59 UTC
[jira] [Commented] (OLINGO-631) JDK 1.8 Support
[ https://issues.apache.org/jira/browse/OLINGO-631?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14532389#comment-14532389 ]
Harish Kasina commented on OLINGO-631:
--------------------------------------
Hi, we are seeing this issue "non-fragment lexer rule 'REST_F' can match the empty string" even we compile in java 1.7 using antlr 4.5.
actually we are seeing the same issue when we compile with Antlr 4.x
> JDK 1.8 Support
> ---------------
>
> Key: OLINGO-631
> URL: https://issues.apache.org/jira/browse/OLINGO-631
> Project: Olingo
> Issue Type: New Feature
> Components: odata4-client, odata4-commons, odata4-JPA, odata4-server
> Affects Versions: (Java) V4 4.0.0-beta-02
> Reporter: Frederic Souchu
> Assignee: Michael Bolz
>
> Olingo unit tests are failing when compiled using JDK1.8 (see error message below).
> Note: likely to an an Antlr bug as reported by the compilation report:
> {code}
> [INFO] --- antlr4-maven-plugin:4.1:antlr4 (default) @ odata-server-core ---
> [INFO] ANTLR 4: Processing source directory D:\olingo-odata4-master-29e2833\lib\server-core\src\main\antlr4
> [INFO] Processing grammar: org\apache\olingo\server\core\uri\antlr\UriLexer.g4
> [WARNING] Message{errorType=EPSILON_TOKEN, args=[REST_F], e=null, fileName='org\apache\olingo\server\core\uri\antlr\UriLexer.g4', line=314,charPosition=0}
> [INFO] Processing grammar: org\apache\olingo\server\core\uri\antlr\UriParser.g4
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Olingo-OData ....................................... SUCCESS [ 3.260 s]
> [INFO] odata-lib .......................................... SUCCESS [ 0.343 s]
> [INFO] odata-commons-api .................................. SUCCESS [ 4.605 s]
> [INFO] odata-commons-core ................................. SUCCESS [ 5.963 s]
> [INFO] odata-client-api ................................... SUCCESS [ 1.794 s]
> [INFO] odata-client-core .................................. SUCCESS [ 6.570 s]
> [INFO] odata-server-api ................................... SUCCESS [ 2.203 s]
> [INFO] odata-server-core .................................. FAILURE [ 0.921 s]
> [INFO] odata-server-tecsvc ................................ SKIPPED
> [INFO] odata-server-test .................................. SKIPPED
> [INFO] odata-ext .......................................... SKIPPED
> [INFO] odata-client-proxy ................................. SKIPPED
> [INFO] pojogen-maven-plugin ............................... SKIPPED
> [INFO] odata-client-android ............................... SKIPPED
> [INFO] odata-fit .......................................... SKIPPED
> [INFO] odata-dist ......................................... SKIPPED
> [INFO] Olingo-OData-Client-for-Android .................... SKIPPED
> [INFO] Olingo-OData-Client-for-Java ....................... SKIPPED
> [INFO] Olingo-OData-Server-for-Java ....................... SKIPPED
> [INFO] Olingo-OData-JavaDoc ............................... SKIPPED
> [INFO] odata-samples ...................................... SKIPPED
> [INFO] odata-server-sample ................................ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 26.111 s
> [INFO] Finished at: 2015-04-17T10:24:39+01:00
> [INFO] Final Memory: 84M/564M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.antlr:antlr4-maven-plugin:4.1:antlr4 (default) on project odata-server-core: Execution default of goal org.antlr:antlr4-maven-plugin:4.1:antlr4 failed: Index: 0, Size: 0 -> [Help 1]
> {code}
> Note: Antlr 4.2 reports a different error:
> {code}
> [INFO] Processing grammar: org\apache\olingo\server\core\uri\antlr\UriLexer.g4
> [WARNING] warning(146): org\apache\olingo\server\core\uri\antlr\UriLexer.g4:314:0: non-fragment lexer rule 'REST_F' can match the empty string
> [WARNING] d:\olingo-odata4-master-29e2833\org\apache\olingo\server\core\uri\antlr\UriLexer.g4 [314:0]: non-fragment lexer rule 'REST_F' can match the empty string
>
> [INFO] ------------------------------------------------------------------------
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Olingo-OData ....................................... SUCCESS [ 4.043 s]
> [INFO] odata-lib .......................................... SUCCESS [ 0.374 s]
> [INFO] odata-commons-api .................................. SUCCESS [ 5.449 s]
> [INFO] odata-commons-core ................................. SUCCESS [ 7.063 s]
> [INFO] odata-client-api ................................... SUCCESS [ 1.841 s]
> [INFO] odata-client-core .................................. SUCCESS [ 6.680 s]
> [INFO] odata-server-api ................................... SUCCESS [ 2.265 s]
> [INFO] odata-server-core .................................. FAILURE [ 0.812 s]
> [INFO] odata-server-tecsvc ................................ SKIPPED
> [INFO] odata-server-test .................................. SKIPPED
> [INFO] odata-ext .......................................... SKIPPED
> [INFO] odata-client-proxy ................................. SKIPPED
> [INFO] pojogen-maven-plugin ............................... SKIPPED
> [INFO] odata-client-android ............................... SKIPPED
> [INFO] odata-fit .......................................... SKIPPED
> [INFO] odata-dist ......................................... SKIPPED
> [INFO] Olingo-OData-Client-for-Android .................... SKIPPED
> [INFO] Olingo-OData-Client-for-Java ....................... SKIPPED
> [INFO] Olingo-OData-Server-for-Java ....................... SKIPPED
> [INFO] Olingo-OData-JavaDoc ............................... SKIPPED
> [INFO] odata-samples ...................................... SKIPPED
> [INFO] odata-server-sample ................................ SKIPPED
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 29.276 s
> [INFO] Finished at: 2015-04-17T10:16:38+01:00
> [INFO] Final Memory: 84M/620M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.antlr:antlr4-maven-plugin:4.2:antlr4 (default) on project odata-server-core: Execution default of goal org.antlr:antlr4-maven-plugin:4.2:antlr4 failed: Serialized ATN data element out of range. -> [Help 1]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)