-
Bug
-
Resolution: Done
-
Major
-
7.8.0.GA
-
None
-
False
-
False
-
Release Notes
-
-
-
-
-
-
CR1
-
+
-
Undefined
-
-
2020 Week 46-48 (from Nov 9), 2020 Week 49-51 (from Nov 30)
Compiling using executable model compiler casting int to short causes compilation error when variable is inside the bracket while it works in 6.x and 7.X legacy compile.
rule "test_rule" dialect "java" when $integerToShort : IntegerToShort( $testInt : testInt , testBoolean!=null, testBoolean==false) then System.out.println("rule_a fired "); $integerToShort.setTestShort((short)($testInt)); $integerToShort.setTestBoolean(true); update($integerToShort); end public static class IntegerToShort { private Boolean testBoolean; private int testInt; private Short testShort; }
- is incorporated by
-
DROOLS-5709 Executable model compiler casting int to short causes compilation error when variable is inside the bracket
- Closed