You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by sd...@apache.org on 2022/09/09 08:48:09 UTC

[ignite] branch ignite-17660 created (now 404f4ae72e4)

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

sdanilov pushed a change to branch ignite-17660
in repository https://gitbox.apache.org/repos/asf/ignite.git


      at 404f4ae72e4 IGNITE-17660 Add missing opens/exports to java15+ config

This branch includes the following new commits:

     new 404f4ae72e4 IGNITE-17660 Add missing opens/exports to java15+ config

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[ignite] 01/01: IGNITE-17660 Add missing opens/exports to java15+ config

Posted by sd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

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

commit 404f4ae72e49796e658049d4289fc8d8856037f2
Author: Semyon Danilov <sa...@yandex.ru>
AuthorDate: Fri Sep 9 12:47:39 2022 +0400

    IGNITE-17660 Add missing opens/exports to java15+ config
---
 bin/include/jvmdefaults.bat | 1 +
 bin/include/jvmdefaults.sh  | 2 +-
 parent/pom.xml              | 6 ++++++
 3 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/bin/include/jvmdefaults.bat b/bin/include/jvmdefaults.bat
index c922d36d822..af9755f0ef7 100644
--- a/bin/include/jvmdefaults.bat
+++ b/bin/include/jvmdefaults.bat
@@ -68,6 +68,7 @@ if %java_version% GEQ 15 (
     --add-opens=java.base/java.util=ALL-UNNAMED ^
     --add-opens=java.base/java.lang=ALL-UNNAMED ^
     --add-opens=java.base/java.lang.invoke=ALL-UNNAMED ^
+    --add-opens=java.sql/java.sql=ALL-UNNAMED ^
     %current_value%
 )
 
diff --git a/bin/include/jvmdefaults.sh b/bin/include/jvmdefaults.sh
index a050c038a74..d984cc56f48 100644
--- a/bin/include/jvmdefaults.sh
+++ b/bin/include/jvmdefaults.sh
@@ -56,7 +56,6 @@ getJavaSpecificOpts() {
       value="\
           --add-opens=java.base/jdk.internal.misc=ALL-UNNAMED \
           --add-opens=java.base/sun.nio.ch=ALL-UNNAMED \
-          --add-opens=java.base/sun.nio.ch=ALL-UNNAMED \
           --add-opens=java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED \
           --add-opens=jdk.internal.jvmstat/sun.jvmstat.monitor=ALL-UNNAMED \
           --add-opens=java.base/sun.reflect.generics.reflectiveObjects=ALL-UNNAMED \
@@ -66,6 +65,7 @@ getJavaSpecificOpts() {
           --add-opens=java.base/java.util=ALL-UNNAMED \
           --add-opens=java.base/java.lang=ALL-UNNAMED \
           --add-opens=java.base/java.lang.invoke=ALL-UNNAMED \
+          --add-opens=java.sql/java.sql=ALL-UNNAMED \
           ${current_value}"
   fi
 
diff --git a/parent/pom.xml b/parent/pom.xml
index 6d5d0351d65..b95cb275be7 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -1000,6 +1000,10 @@
                                 <arg>java.base/java.util=ALL-UNNAMED</arg>
                                 <arg>--add-exports</arg>
                                 <arg>java.base/java.lang=ALL-UNNAMED</arg>
+                                <arg>--add-exports</arg>
+                                <arg>java.base/java.lang.invoke=ALL-UNNAMED</arg>
+                                <arg>--add-exports</arg>
+                                <arg>java.sql/java.sql=ALL-UNNAMED</arg>
                             </compilerArgs>
                         </configuration>
                     </plugin>
@@ -1019,6 +1023,8 @@
                                 --add-opens=java.base/java.nio=ALL-UNNAMED
                                 --add-opens=java.base/java.util=ALL-UNNAMED
                                 --add-opens=java.base/java.lang=ALL-UNNAMED
+                                --add-opens=java.base/java.lang.invoke=ALL-UNNAMED
+                                --add-opens=java.sql/java.sql=ALL-UNNAMED
                             </argLine>
                         </configuration>
                     </plugin>