Peter Turcsanyi created NIFI-9861:
-------------------------------------

             Summary: Stateless ClassLoader isolation does not work in Java 11
                 Key: NIFI-9861
                 URL: https://issues.apache.org/jira/browse/NIFI-9861
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Peter Turcsanyi


Stateless ClassLoader isolation implementation (NIFI-9576) expects that the 
system class loader is an {{URLClassLoader}} instance but it is not true for 
Java 11. Due to this, {{BlockListClassLoader}} gets initialized with an empty 
set of classes and it cannot block anything (there is no isolation, otherwise 
it works on Java 11 as before NIFI-9576)
[https://github.com/apache/nifi/blob/7fde2bbfd1afdd6037765340eca9fc675542323e/nifi-stateless/nifi-stateless-bootstrap/src/main/java/org/apache/nifi/stateless/bootstrap/StatelessBootstrap.java#L150-L153]



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to