Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.6-rc-2
-
None
Description
import groovy.util.Proxy
class Proxy1 extends Proxy {
def foo()
}
class Proxy2 extends Proxy {
def bar()
}
class Obj {
def 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: []