[rules-dev] deferring binding (Object type fields) and comparable
Michael Neale
michael.neale at gmail.com
Mon Oct 22 20:30:28 EDT 2007
Edson - I noticed (lost the JIRA for it) that if you have a fact field of
type "Object" - and you do:
Foo(someObject < 42)
then if at runtime, you make someObject and integer, it fails (class cast
exception) as it didn't know what type someObject would be (and it takes a
bad guess).
What should we do? Should we do some last minute dynamic coercion in the
ObjectFactory.java ?
Michael.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-dev/attachments/20071023/7797ce0c/attachment.html
More information about the rules-dev
mailing list