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

Peter Ivanov closed IGNITE-11153.
---------------------------------

> 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
>    Affects Versions: 2.7
>            Reporter: Dmitry Pavlov
>            Assignee: Peter Ivanov
>            Priority: Major
>              Labels: important
>             Fix For: 2.7.5
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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
(v8.3.4#803005)

Reply via email to