[jboss-jira] [JBoss JIRA] (DROOLS-5307) DMN test suite for strongly namespace clashing

Matteo Mortari (Jira) issues at jboss.org
Wed May 6 12:51:45 EDT 2020


Matteo Mortari created DROOLS-5307:
--------------------------------------

             Summary: DMN test suite for strongly namespace clashing
                 Key: DROOLS-5307
                 URL: https://issues.redhat.com/browse/DROOLS-5307
             Project: Drools
          Issue Type: Task
          Components: dmn engine
            Reporter: Matteo Mortari
            Assignee: Luca Molteni


If 2 separate test (methods) in the JUnit suite of test, are using 2 different .dmn files, having however the same Namespace and Name, and both defining an ItemDefinition with a specified name, but different structure, the classloading will be confused (trying to access a method not belonging to the expected class). Trying to redefine the same class?

Can be replicated by checking out the branch and reverting commit https://github.com/kiegroup/drools/pull/2886/commits/cb216ac827ea5b51afc82f98161a95ea8391aa1c



--
This message was sent by Atlassian Jira
(v7.13.8#713008)


More information about the jboss-jira mailing list