Related to https://issues.apache.org/jira/browse/GROOVY-9777 that was noticed by someone last week, I'm thinking JavaStubGenerator.selectAccessibleConstructorFromSuper should select the closest matching parent constructor related to the number and type of parameters in the child. The code has a variable named bestMatch, but it seems to me (unless I'm misreading) that it functions more like firstMatch. Other than it being a more complicated implementation (I'm still thinking about how I'd do it), was there any reason to avoid this?
-Keegan