tomncooper commented on code in PR #915:
URL: 
https://github.com/apache/flink-kubernetes-operator/pull/915#discussion_r1842285729


##########
helm/flink-kubernetes-operator/conf/flink-conf.yaml:
##########
@@ -21,9 +21,11 @@ taskmanager.numberOfTaskSlots: 1
 parallelism.default: 1
 
 # These parameters are required for Java 17 support.
-# These should be kept in-sync with the flink dist env.java.opts.all defaults 
in: flink-dist/src/main/resources/config.yaml
-# default-opts.all is used here so users can supply their own opts.all in 
their Job deployments and have these appended.
-env.java.default-opts.all: --add-exports=java.base/sun.net.util=ALL-UNNAMED 
--add-exports=java.rmi/sun.rmi.registry=ALL-UNNAMED 
--add-exports=jdk.compiler/com.sun.tools.javac.api=ALL-UNNAMED 
--add-exports=jdk.compiler/com.sun.tools.javac.file=ALL-UNNAMED 
--add-exports=jdk.compiler/com.sun.tools.javac.parser=ALL-UNNAMED 
--add-exports=jdk.compiler/com.sun.tools.javac.tree=ALL-UNNAMED 
--add-exports=jdk.compiler/com.sun.tools.javac.util=ALL-UNNAMED 
--add-exports=java.security.jgss/sun.security.krb5=ALL-UNNAMED 
--add-opens=java.base/java.lang=ALL-UNNAMED 
--add-opens=java.base/java.net=ALL-UNNAMED 
--add-opens=java.base/java.io=ALL-UNNAMED 
--add-opens=java.base/java.nio=ALL-UNNAMED 
--add-opens=java.base/sun.nio.ch=ALL-UNNAMED 
--add-opens=java.base/java.lang.reflect=ALL-UNNAMED 
--add-opens=java.base/java.text=ALL-UNNAMED 
--add-opens=java.base/java.time=ALL-UNNAMED 
--add-opens=java.base/java.util=ALL-UNNAMED 
--add-opens=java.base/java.util.concurrent=ALL-UNNAMED 
--add-opens=java.base/java.ut
 il.concurrent.atomic=ALL-UNNAMED 
--add-opens=java.base/java.util.concurrent.locks=ALL-UNNAMED

Review Comment:
   Oh they will _currently_ work with older versions of Flink. The issue is 
that a future version of Flink might not need all these modules opened and/or 
exported and so that would break older version of Flink that do need them.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@flink.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to