Uploaded image for project: 'JBoss BRMS Platform'
  1. JBoss BRMS Platform
  2. RHBRMS-2893

Constraint evaluation of jitted constraint fails on ClassCastException after incremental compilation

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 6.4.7, 6.4.7.GA
    • 6.4.5
    • BRE
    • CR1
    • 2017 Week 43-44

    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

      Attachments

        Issue Links

          Activity

            People

              mfusco@redhat.com Mario Fusco
              tzimanyi@redhat.com Tibor Zimányi
              Archiver:
              rhn-support-ceverson Clark Everson
              Tibor Zimányi Tibor Zimányi
              Tibor Zimányi Tibor Zimányi

              Dates

                Created:
                Updated:
                Resolved:
                Archived:

                PagerDuty