Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6-rc-2
    • Fix Version/s: 1.6.1, 1.5.8, 1.7-beta-1
    • Component/s: groovy-jdk
    • Labels:
      None
    • Testcase included:
      yes
    • Number of attachments :
      0

      Description

      import groovy.util.Proxy

      class Proxy1 extends Proxy {
      def foo()

      { println "Foo" }

      }

      class Proxy2 extends Proxy {
      def bar()

      { println "Bar" }

      }

      class Obj {
      def baz()

      { println "Baz" }

      }

      def proxy1 = new Proxy1()
      def proxy2 = new Proxy2()
      proxy1.adaptee = proxy2
      proxy2.adaptee = new Obj()

      proxy1.baz() // Explodes – No signature of method: Proxy2.baz() is applicable for argument types: () values: []

        Activity

        Hide
        blackdrag blackdrag added a comment -

        fixed

        Show
        blackdrag blackdrag added a comment - fixed

          People

          • Assignee:
            blackdrag blackdrag
            Reporter:
            Robert Fischer
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: