ignite-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dmitriy Pavlov (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (IGNITE-11153) Support Java 11 for control.sh & ignitevisorcmd.sh: remove odd --add-modules for java.xml.bind
Date Mon, 04 Feb 2019 13:00:04 GMT

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

Dmitriy Pavlov commented on IGNITE-11153:
-----------------------------------------

[~vveider], [~agoncharuk], I still need assistance here. I'm not an expert in sh scripts.

Of course, I can prepare a PR. - It will be more likely to have bugs in it than PR prepared
by an expert.

> Support Java 11 for control.sh & ignitevisorcmd.sh: remove odd --add-modules for
java.xml.bind
> ----------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-11153
>                 URL: https://issues.apache.org/jira/browse/IGNITE-11153
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Dmitriy Pavlov
>            Priority: Major
>
> JAXB module was removed from Java 11.
> Please adopt ignite control.sh in the same way as it is done for ignite.sh/bat
> {noformat}
> elif [ $version -gt 8 ] && [ $version -lt 11 ]; then
>     JVM_OPTS="\
>         -XX:+AggressiveOpts \
>         --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED \
>         --add-exports=java.base/sun.nio.ch=ALL-UNNAMED \
>         --add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED \
>         --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED \
>         --add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED \
>         --illegal-access=permit \
>         --add-modules=java.transaction \
>         --add-modules=java.xml.bind \
>         ${JVM_OPTS}"
> elif [ $version -eq 11 ] ; then
>     JVM_OPTS="\
>         --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED \
>         --add-exports=java.base/sun.nio.ch=ALL-UNNAMED \
>         --add-exports=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED \
>         --add-exports=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED \
>         --add-exports=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED \
>         --illegal-access=permit \
>         ${JVM_OPTS}"
> {noformat}
> But control.sh for master still declares   --add-modules java.xml.bind \
> {noformat}
> JVM_OPTS="--add-exports java.base/jdk.internal.misc=ALL-UNNAMED \
>           --add-exports java.base/sun.nio.ch=ALL-UNNAMED \
>           --add-exports java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED \
>           --add-exports jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED \
>           --add-modules java.xml.bind \
>       ${JVM_OPTS}"
> {noformat}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message