[
https://issues.apache.org/jira/browse/NIFI-12072?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mark Payne updated NIFI-12072:
------------------------------
Fix Version/s: 2.0.0
(was: 2.latest)
Resolution: Fixed
Status: Resolved (was: Patch Available)
> 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
> Priority: Major
> Fix For: 2.0.0
>
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> 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)