[jboss-jira] [JBoss JIRA] (DROOLS-2441) DMN runtime not using the kiecontainer root classloader to load classes
Edson Tirelli (JIRA)
issues at jboss.org
Sat Mar 31 09:23:00 EDT 2018
[ https://issues.jboss.org/browse/DROOLS-2441?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edson Tirelli updated DROOLS-2441:
----------------------------------
Attachment: Standard Deviation.dmn
> DMN runtime not using the kiecontainer root classloader to load classes
> -----------------------------------------------------------------------
>
> Key: DROOLS-2441
> URL: https://issues.jboss.org/browse/DROOLS-2441
> Project: Drools
> Issue Type: Bug
> Components: dmn engine
> Affects Versions: 7.6.0.Final
> Reporter: Edson Tirelli
> Assignee: Matteo Mortari
> Priority: Blocker
> Fix For: 7.8.0.Final
>
> Attachments: Standard Deviation.dmn, StandardDeviation.java
>
>
> The FunctionDefNode is not using the kie container root classloader to load classes. I even added a comment for that, just a shame comments are not executable:
> https://github.com/kiegroup/drools/blob/master/kie-dmn/kie-dmn-feel/src/main/java/org/kie/dmn/feel/lang/ast/FunctionDefNode.java#L98-L99
> {code:title=FunctionDefNode.java}
> // might need to explicitly use a classloader here
> Class<?> clazz = Class.forName( clazzName );
> {code}
> To reproduce the problem, create a java class with a static method, add it to the kjar, create a DMN model that invokes that model, and try to execute.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list