Uploaded image for project: 'Aries'
  1. Aries
  2. ARIES-801

Aries Proxy cannot proxy abstract classes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.4
    • 0.4
    • Proxy
    • None

    Description

      The proxy component is unable to proxy abstract classes. This is just plain silly for the subclassing code, which should already be able to do this trivially and is definitely a bug.

      It should be possible to augment the dynamic interface proxy code so that it can extend "woven" abstract classes too, treating any abstract methods as "interface" and simply setting the superclass properly. Because the interface generation code extends the existing weaving code this is effectively the same as loading and weaving a real concrete subclass that has zero length implementations of the abstract methods.

      Interestingly it should also be possible to add interfaces to these dynamically generated woven subclasses. I'm not sure whether this will be useful or not, but we should get it for free.

      Attachments

        Activity

          People

            timothyjward Timothy James Ward
            timothyjward Timothy James Ward
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: