You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael van der Gulik (Jira)" <ji...@apache.org> on 2020/02/16 21:33:00 UTC

[jira] [Commented] (OLINGO-1363) Java 9+ support

    [ https://issues.apache.org/jira/browse/OLINGO-1363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17037979#comment-17037979 ] 

Michael van der Gulik commented on OLINGO-1363:
-----------------------------------------------

The 0001-Add-the-Jakarta... patch is for the odata4 version, and only makes the compilation succeed using "openjdk version "11.0.6" 2020-01-14". I don't know what the tecsvc module even is, so I have no idea if it still works.

The build failure happens in the odata-server-tecsvc module because the javax.xml.bind package is EE and seems to have been removed:

{code}
[ERROR] /home/mikevdg/workspace/olingo-odata4/lib/server-tecsvc/src/main/java/org/apache/olingo/server/tecsvc/processor/queryoptions/options/SearchHandler.java:[26,22] package javax.xml.bind does not exist
[ERROR] /home/mikevdg/workspace/olingo-odata4/lib/server-tecsvc/src/main/java/org/apache/olingo/server/tecsvc/processor/queryoptions/options/SearchHandler.java:[99,14] cannot find symbol
{code} 

> Java 9+ support
> ---------------
>
>                 Key: OLINGO-1363
>                 URL: https://issues.apache.org/jira/browse/OLINGO-1363
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-core
>    Affects Versions: V2 2.0.11
>            Reporter: Gezerepi
>            Priority: Major
>              Labels: build
>         Attachments: 0001-Add-the-Jakarta-XML-bindings-dependency-so-it-compil.patch
>
>
> Is the java 9 or above supported? I'm receiving this while trying to build. Seems because of use of deprecated packages.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)