Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.7-beta-1
-
None
-
None
-
Windows XP Professional Version 5.1.2600 Service Pack 2 Build 2600
Description
public abstract class MyNode {
}
@Test
public void testCreateStubNode()
@Test
public void testCreateStubNodeDelegate()
@Test
public void testCreateMockNode()
@Test
public void testCreateMockNodeDelegate()
In any case (and with a non-empty Abstract class such as import javax.media.j3d.Node) the result is:
groovy.lang.MissingMethodException: No signature of method: groovy.util.ProxyGenerator.instantiateAggregateFromBaseClass() is applicable for argument types: (java.lang.Class, null) values: [class MyNode, null]
Which appears to be absolutely true: the ProxyGenerator only has these 3 method signatures, none of which have the Class as the 1st argument (save the single parameter version)...
instantiateAggregateFromBaseClass(Class)
instantiateAggregateFromBaseClass(Map, Class)
instantiateAggregateFromBaseClass(Closure, Class)