[jboss-jira] [JBoss JIRA] (DROOLS-1772) Constraint evaluation of jitted constraint fails on ClassCastException after incremental compilation

Mario Fusco (JIRA) issues at jboss.org
Tue Oct 24 08:47:00 EDT 2017


     [ https://issues.jboss.org/browse/DROOLS-1772?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco moved RHBRMS-3019 to DROOLS-1772:
---------------------------------------------

              Project: Drools  (was: JBoss BRMS Platform)
                  Key: DROOLS-1772  (was: RHBRMS-3019)
             Workflow: GIT Pull Request workflow   (was: CDW with docs v1)
       Docs QE Status: NEW
          Component/s: core engine
                           (was: BRE)
    Affects Version/s: 7.4.0.Final
                           (was: 6.4.5)
            QE Status: NEW


> Constraint evaluation of jitted constraint fails on ClassCastException after incremental compilation
> ----------------------------------------------------------------------------------------------------
>
>                 Key: DROOLS-1772
>                 URL: https://issues.jboss.org/browse/DROOLS-1772
>             Project: Drools
>          Issue Type: Bug
>          Components: core engine
>    Affects Versions: 7.4.0.Final
>            Reporter: Mario Fusco
>            Assignee: Mario Fusco
>              Labels: jitting
>
> When running tests from class org.kie.scanner.KieRepositoryScannerTest with forced jitting (jittingThreshold=0), some tests from the class fails on this stacktrace [1]. There's also this other stacktrace for one test from the class [2].
> From discussion:
> <mfusco> tzimanyi, in that specific test the Bean class is redefined
> <mfusco> tzimanyi, the old class is unloaded from the ProjectClassLoader
> <mfusco> tzimanyi, but the old jitted constraint still uses it
> [1] https://gist.github.com/baldimir/105ebfd5e1452b4d5c22fe394d873719
> [2] https://gist.github.com/baldimir/105ebfd5e1452b4d5c22fe394d873719



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jboss-jira mailing list