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

Alexey Goncharuk commented on IGNITE-11153:
-------------------------------------------

[~dpavlov], I am not an expert in shell scripts, cannot provide any feedback on 
the changes. Maybe [~ustas] can review or suggest someone who can take a look?

> 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: Dmitriy Pavlov
>            Assignee: Peter Ivanov
>            Priority: Major
>             Fix For: 2.8
>
>          Time Spent: 10m
>  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
(v7.6.3#76005)

Reply via email to