Lopata created NIFI-10331:
-----------------------------

             Summary: Bootstrap NiFI with java java arguments with space not 
possible
                 Key: NIFI-10331
                 URL: https://issues.apache.org/jira/browse/NIFI-10331
             Project: Apache NiFi
          Issue Type: New Feature
    Affects Versions: 1.17.0
         Environment: all
            Reporter: Lopata


We are running NiFi on Java 17 and we are not able to add _*--add-opens 
java.base/java.lang.reflect=ALL-UNNAMED*_ java argument when bootstrapping the 
NiFi. RunNifi.java is using ProcessBuilder that expects command without spaces, 
so we have to defined --add-opens argument in the bootstrap.conf file with two 
_*java.arg.N*_ properties. RunNifi.java when creates the java command doesn't 
respect the order of _*java.arg.N*_ properties and randomly places the 
--add-opens argument parts into java command which is than not valid.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to