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

Declared Beans with interface-typed fields cause exceptions when evaluating equals() and hashCode()

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • None
    • None

      Given an interface:
      interface SomeInterface {
      int getId();
      void setId(int id);
      }

      and a declared bean:
      declare SomeFact (
      x : SomeInterface @key
      )

      the system throws an exception "a class is expected but an interface is found" when evaluating the hashCode method

            dsotty Davide Sottara (Inactive)
            dsotty Davide Sottara (Inactive)
            Archiver:
            rhn-support-ceverson Clark Everson

              Created:
              Updated:
              Resolved:
              Archived: