Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-270

Primitve globals will result in a runtime exception

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 5.5.1.Final, 6.0.0.Final
    • 5.5.0.Final, 6.0.0.CR3
    • None
    • None

      package test;
      global int foo;
      ...

      the KnowledgeBuilder will accept primitive typed globals, but they will
      later result in a runtime exception when the KB is built.
      A compile-time error should be raised instead

            mfusco@redhat.com Mario Fusco
            dsotty Davide Sottara (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: