You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2019/03/22 12:11:43 UTC

[ignite] branch master updated: IGNITE-11600 Fix launch script for Java 12 (#6323)

This is an automated email from the ASF dual-hosted git repository.

dpavlov pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/ignite.git


The following commit(s) were added to refs/heads/master by this push:
     new 4c352bc  IGNITE-11600 Fix launch script for Java 12 (#6323)
4c352bc is described below

commit 4c352bcf8c0fc5e5f17a00f3c82ecbe15a3cbd7d
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Fri Mar 22 15:11:35 2019 +0300

    IGNITE-11600 Fix launch script for Java 12 (#6323)
---
 bin/ignite.bat | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bin/ignite.bat b/bin/ignite.bat
index cfb0810..a1b93f6 100644
--- a/bin/ignite.bat
+++ b/bin/ignite.bat
@@ -248,7 +248,7 @@ if %MAJOR_JAVA_VER% GEQ 9 if %MAJOR_JAVA_VER% LSS 11 (
     %JVM_OPTS%
 )
 
-if %MAJOR_JAVA_VER% == 11 (
+if %MAJOR_JAVA_VER% GEQ 11 (
     set JVM_OPTS= ^
     --add-exports=java.base/jdk.internal.misc=ALL-UNNAMED ^
     --add-exports=java.base/sun.nio.ch=ALL-UNNAMED ^