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 10:00:53 UTC

[ignite] 01/01: IGNITE-11600 Fix launch script for Java 12

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

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

commit 904b3fbd50bcd5c93c38c918038c933934a3bb3f
Author: Dmitriy Pavlov <dp...@apache.org>
AuthorDate: Thu Mar 21 20:10:34 2019 +0300

    IGNITE-11600 Fix launch script for Java 12
---
 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 ^