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

Exceptions when declaring a class with a subclass-typed attribute

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.2.0.CR2
    • None
    • None
    • None

      the following model, legal in Java, throws exceptions when declared in DRL:

      declare A
        field : B
      end
      
      declare B extends A
      end
      

      A circular dependency is detected, which prevents the classes from being generated. Based on the use of those classes, exceptions may be thrown

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

              Created:
              Updated:
              Resolved: