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

KieProjectDefaultClasspathTest.createMultpleJarAndFileResources() fails sometimes when run on IBM JDK

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 6.3.0.Beta2
    • None
    • None

      KieProjectDefaultClasspathTest.createMultpleJarAndFileResources() uses KieServicesEventListerner which is referenced as WeakReference in KieServicesImpl and ClasspathKieProject. IBM JDK handles garbage collection differently than Oracle JDK and sometimes frees the listener during test run so the test fails. The test should hold the reference to the listener during whole test run.

            mfusco@redhat.com Mario Fusco
            tzimanyi@redhat.com Tibor Zimányi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: