Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1772

Constraint evaluation of jitted constraint fails on ClassCastException after incremental compilation

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 7.4.1.Final
    • Fix Version/s: None
    • Component/s: core engine
    • Labels:
    • Sprint:
      2017 Week 43-44
    • Docs QE Status:
      NEW
    • QE Status:
      NEW

      Description

      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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mfusco Mario Fusco
                  Reporter:
                  mfusco Mario Fusco
                  Tester:
                  Tibor Zimanyi
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  1 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: