[jboss-jira] [JBoss JIRA] Created: (JBRULES-657) Primitive array in functions declaration throws exception

Frederic Burlet (JIRA) jira-events at lists.jboss.org
Fri Feb 9 12:14:37 EST 2007


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: Mark Proctor



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

        



More information about the jboss-jira mailing list