Bug 1037572

Summary: Incremental compilation fails with declared types
Product: [Retired] JBoss BRMS Platform 6 Reporter: Mario Fusco <mfusco>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED CURRENTRELEASE QA Contact: Tomas Schlosser <tschloss>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.0CC: etirelli, mwinkler
Target Milestone: ER6   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:15:59 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:
Embargoed:

Description Mario Fusco 2013-12-03 11:54:06 UTC
Incremental compilation doesn't work if the newly added drl contains a declared type.

Comment 3 JBoss JIRA Server 2013-12-06 01:33:35 UTC
Davide Sottara <dsotty> updated the status of jira DROOLS-363 to Reopened

Comment 4 JBoss JIRA Server 2013-12-06 01:33:35 UTC
Davide Sottara <dsotty> made a comment on jira DROOLS-363

If the new DRL contains a REDECLARATION of a previously declared type X, and any other class Y is generated during its compilation process, a package-level rewire of X might "orphan" existing instances. Should they match any rule, a ClassCastException will be thrown.

Comment 5 JBoss JIRA Server 2013-12-09 11:58:19 UTC
Mario Fusco <mario.fusco> updated the status of jira DROOLS-363 to Resolved

Comment 6 Tomas Schlosser 2014-01-07 10:36:43 UTC
Both commits are in product repository. Since the incremental build is internal feature and test for this fix was provided in community, I mark this issue as verified.