Details
-
Bug
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
1.5
-
None
-
None
Description
invokeMethod is called twice on a GroovyInterceptable if a non-existent method is called from within an instance method.
It is called only once if non-existent method is called from outside the instance method. Please see test attached.
Invoker's invokePogoMethod attempts to calls invokeMethod the second time only
if the object is not interceptable (and hence the passing of first test I think).
Similarly, the ScriptByteCodeAdapter's invokeMethodOnCurrentN should do the same,
but it's not doing that (and hence the failing of the second test I think).