zentol commented on code in PR #22794:
URL: https://github.com/apache/flink/pull/22794#discussion_r1231118408


##########
flink-python/pyflink/pyflink_gateway_server.py:
##########
@@ -254,8 +254,10 @@ def launch_gateway_server_process(env, args):
             [construct_flink_classpath(env), construct_hadoop_classpath(env)])
         if "FLINK_TESTING" in env:
             classpath = os.pathsep.join([classpath, 
construct_test_classpath()])
-        command = [java_executable, jvm_args, 
"-XX:+IgnoreUnrecognizedVMOptions"] + jvm_opts \
-            + log_settings + ["-cp", classpath, program_args.main_class] + 
program_args.other_args
+        command = [java_executable, jvm_args, 
"-XX:+IgnoreUnrecognizedVMOptions",
+                   "--add-opens=jdk.proxy2/jdk.proxy2=ALL-UNNAMED"] \

Review Comment:
   yes. Basically python uses java proxies to communicate, and also does 
reflection work against these proxies afaict.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to