[
http://jira.jboss.com/jira/browse/JBRULES-657?page=all ]
Edson Tirelli resolved JBRULES-657.
-----------------------------------
Fix Version/s: 3.1-m1
Resolution: Done
Fixed for simple arrays (revision #9411). I need to look again in the future about
multidimensional arrays. For now, it is fine.
Thanks for reporting and providing the patch.
Primitive array in functions declaration throws exception
---------------------------------------------------------
Key: JBRULES-657
URL:
http://jira.jboss.com/jira/browse/JBRULES-657
Project: JBoss Rules
Issue Type: Bug
Security Level: Public(Everyone can see)
Affects Versions: 3.1-m1
Environment: Fedora Core 5, Java 1.4
Reporter: Frederic Burlet
Assigned To: Edson Tirelli
Fix For: 3.1-m1
Attachments: patch_primitive_array_in_function.patch,
primitive-array-in-functions.tar.gz
When the drl file contains the declaration of a function having a primitive array as
parameter, the compiler complains it is unable to find the class for this primitive array.
This is the case for primitive arrays containing primitive types or objects. Example is
attached. I also attached a patch.
There is a drawback in this patch, I don't know how to fix this another way.
Currently, if the user define a function having an array of java object as argument, the
type must be fully qualified.
--
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