Uploaded image for project: 'Beehive'
  1. Beehive
  2. BEEHIVE-1160

code generated ClientInitalizer can be generated with duplicate method declarations when multiple interfaces are extended on an event set

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • None
    • V.Next
    • Controls
    • None

    Description

      When a control has an event set that extends 2 other event set interfaces that are part of the same hierarchy duplicate methods will be generated in the client initializer.

      For instance

      I have BaseEventSet with the method onTimeout(...)
      I have DerivedEventSet that extends BaseEventSet
      I have my control class with an inner event set interface that extends DerivedEventSet AND BaseEventSet (this configuration is due to a work-around for an earlier JIRA issue that is now resolved).

      The generated client initializer now has 2 versions of onTimeout(...)

      I am working on patch.

      Attachments

        1. PATCH.txt
          4 kB
          Andrew McCulloch

        Activity

          People

            alramire Alejandro Ramirez
            amccullo Andrew McCulloch
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: