| Summary: | KieScanner does not recognize presence of a new class file in Jar | ||
|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Tomas David <tdavid> |
| Component: | BRE | Assignee: | Mario Fusco <mfusco> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Tomas David <tdavid> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.0.0 | CC: | etirelli |
| Target Milestone: | ER1 | ||
| Target Release: | 6.0.1 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-08-06 19:58:25 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Tomas David
2013-11-04 11:56:06 UTC
We were already aware of this issue and the fix could be very difficult. The main problem is that the old Java class is loaded in the class loader and it is not possible to remove it form there and replace with a new one. We should create a way to dump the old class loader, but this cannot work if the KieBase already exists. Tested on BRMS 6.0.0.ER7, but it still doesn't work for me. KieRepositoryScannerTest.testKScannerWithKJarContainingClasses works fine, but test from Pull request #278 still fails. This problem arises when only java classes are changed but not the drls using them. Fixed by https://github.com/droolsjbpm/drools/commit/e4fb59716 This no longer has a target release of 6.0.0. Verified on BRMS 6.0.1.ER1. |