]
Mario Fusco reassigned JBRULES-3539:
------------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
Error calling clone on object from map on RHS
-----------------------------------------------
Key: JBRULES-3539
URL:
https://issues.jboss.org/browse/JBRULES-3539
Project: Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 5.5.0.Beta1
Environment: java 6. Windows
Reporter: Joe Re
Assignee: Mario Fusco
When calling clone on an object in the RHS of a rule the exception below is thrown. Git
pull request with a MiscTest unit test to follow.
https://github.com/droolsjbpm/drools/pull/123
Unable to Analyse Expression System.out.println( $valOne.clone() );:
[Error: Failed to compileShared: 1 compilation error(s):
- (1,21) the referenced method is not accessible: java.lang.Object.clone() (scope:
protected native; required: public]
[Near : {... System.out.println( $valOne.clone() ); ....}]
^
[Line: 5, Column: 0] : [Rule name='RHSClone']
Error importing : 'com.sample.DroolsTest.Message'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: