jtstorck commented on a change in pull request #3174: NIFI-5820 NiFi built on 
Java 1.8 can run on Java 9/10/11
URL: https://github.com/apache/nifi/pull/3174#discussion_r275856360
 
 

 ##########
 File path: nifi-bootstrap/src/main/java/org/apache/nifi/bootstrap/RunNiFi.java
 ##########
 @@ -993,6 +994,23 @@ public boolean accept(final File dir, final String 
filename) {
             cpFiles.add(file.getAbsolutePath());
         }
 
+        String runtimeJavaVersion = System.getProperty("java.version");
 
 Review comment:
   I think we're okay with the code as is.  This is just detecting if the JRE 
is 11 or newer, and adds the libs in the lib/java11 dir so that code has access 
to jaxb/activation/annotation libs; those libs were removed from the JDK/JRE as 
of Java 11.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to