Joe Witt created NIFI-12072:
-------------------------------

             Summary: Move to StackWalker API to avoid the no longer allowed 
SecurityManager in Java 18+
                 Key: NIFI-12072
                 URL: https://issues.apache.org/jira/browse/NIFI-12072
             Project: Apache NiFi
          Issue Type: Improvement
            Reporter: Joe Witt
            Assignee: Joe Witt


With NiFi 1.x we used a SecurityManager as part of our Nar Context Class 
Loading jailing process whereby even spawned threads we'd find the right 
classloader and pin the context.  Java 21 makes this no longer acceptable so we 
need a new solution.

Enter the StackWalker API https://bugs.openjdk.org/browse/JDK-8043814

Using this we can move to a more efficient and better go forward model that is 
Java 21+ friendly.



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

Reply via email to