[
http://jira.jboss.com/jira/browse/JBRULES-1111?page=all ]
Edson Tirelli resolved JBRULES-1111.
------------------------------------
Resolution: Won't Fix
That happens because the engine needs to create shadow facts for objects asserted as facts
and shadow facts are implemented as lazy proxies. If the class or the methods are final,
the engine can't override them.
So, we strongly discourage you to use final classes or methods as facts, specially if
those methods are property accessors.
Final methods of POJO's aer never evaluated
-------------------------------------------
Key: JBRULES-1111
URL:
http://jira.jboss.com/jira/browse/JBRULES-1111
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Reteoo
Affects Versions: 4.0.0.GA
Reporter: Arjun Dhar
Assigned To: Edson Tirelli
Priority: Minor
Fix For: 4.0.1
If a POJO defines certain getters as final and they are used in a condition in the Rules,
then they do not evaluate properly
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira