-
Bug
-
Resolution: Done
-
Major
-
7.55.0.Final
-
None
-
2021 Week 22-24 (from May 31), 2021 Week 25-27 (from Jun 21)
-
2
-
Undefined
-
NEW
-
NEW
When Cell class has a public field 'hidden'
public class Cell { public boolean hidden;
, this rule:
rule R1 when $c : Cell() then modify( $c ) { hidden = true }; end
generates AllSetButLastBitMask:
public static org.drools.model.Rule rule_R1() { final org.drools.model.Variable<org.drools.mvel.integrationtests.PropertySpecificTest.Cell> var_$c = D.declarationOf(org.drools.mvel.integrationtests.PropertySpecificTest.Cell.class, DomainClassesMetadataD9F7CD5C48703AD1633D71F5F77FBBDA.org_drools_mvel_integrationtests_PropertySpecificTest_Cell_Metadata_INSTANCE, "$c"); final org.drools.model.BitMask mask_$c = org.drools.model.bitmask.AllSetButLastBitMask.get(); org.drools.model.Rule rule = D.rule("org.drools.mvel.integrationtests", "R1").build(D.pattern(var_$c), D.on(var_$c).execute(org.drools.mvel.integrationtests.PB5.LambdaConsequenceB58DB4790356C484B2FC931B685AD2B1.INSTANCE)); return rule; }
so reacts to all rules which have Cell pattern.
- is incorporated by
-
DROOLS-5826 executable-model test failure in test-compiler-integration PropertySpecificTest
- Closed
- is related to
-
DROOLS-5729 Reorganize drools unit tests
- Coding In Progress