]
Mario Fusco reassigned DROOLS-804:
----------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
KieProjectDefaultClasspathTest.createMultpleJarAndFileResources()
fails sometimes when run on IBM JDK
-----------------------------------------------------------------------------------------------------
Key: DROOLS-804
URL:
https://issues.jboss.org/browse/DROOLS-804
Project: Drools
Issue Type: Bug
Reporter: Tibor Zimányi
Assignee: Mario Fusco
Priority: Minor
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.