adoroszlai commented on code in PR #6073:
URL: https://github.com/apache/ozone/pull/6073#discussion_r1463095390


##########
hadoop-ozone/dist/src/shell/ozone/ozone-functions.sh:
##########
@@ -1428,12 +1428,13 @@ function ozone_set_module_access_args
 
   # populate JVM args based on java version
   if [[ "${JAVA_MAJOR_VERSION}" -ge 17 ]]; then
-    OZONE_MODULE_ACCESS_ARGS="--add-opens java.base/java.lang=ALL-UNNAMED"
-    OZONE_MODULE_ACCESS_ARGS="${OZONE_MODULE_ACCESS_ARGS} --add-opens 
java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED"
+    OZONE_MODULE_ACCESS_ARGS="--add-opens 
java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED"

Review Comment:
   ```suggestion
       OZONE_MODULE_ACCESS_ARGS="${OZONE_MODULE_ACCESS_ARGS} --add-opens 
java.management/com.sun.jmx.mbeanserver=ALL-UNNAMED"
   ```



-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to