Uploaded image for project: 'JBRULES'
  1. JBRULES
  2. JBRULES-657

Primitive array in functions declaration throws exception

This issue belongs to an archived project. You can view it, but you can't modify it. Learn more

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 3.1-m1
    • 3.1-m1
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            etirelli@redhat.com Edson Tirelli
            fburlet_jira Frederic Burlet (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

            Dates

              Created:
              Updated:
              Resolved:
              Archived:

              PagerDuty