You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2022/05/09 18:55:00 UTC

[jira] [Commented] (NIFI-10004) Stateless NiFi does not allow loading of .class files in the root class loader

    [ https://issues.apache.org/jira/browse/NIFI-10004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17533962#comment-17533962 ] 

ASF subversion and git services commented on NIFI-10004:
--------------------------------------------------------

Commit 93111887859543439ed7ec7b1bfc312e34a90695 in nifi's branch refs/heads/main from Mark Payne
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=9311188785 ]

NIFI-10004: Allow loading .class files that are relative to the NAR directory, in addition to the .jar / .nar files

NIFI-10004: When determining classname from a file, consider File.separator instead of just /
Signed-off-by: Matthew Burgess <ma...@apache.org>

This closes #6026


> Stateless NiFi does not allow loading of .class files in the root class loader
> ------------------------------------------------------------------------------
>
>                 Key: NIFI-10004
>                 URL: https://issues.apache.org/jira/browse/NIFI-10004
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: NiFi Stateless
>            Reporter: Mark Payne
>            Assignee: Mark Payne
>            Priority: Major
>             Fix For: 1.16.2
>
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Typically when we create a class loader for nifi/stateless we use .jar and .nar files only. However, in some circumstances, the embedding application may include .class files in the class path. Stateless Bootstrap's AllowList ClassLoader is not allowing these .class files to be used in the extensions' class loaders.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)