GROOVY-6971: try to improve performance of GeneratedMetaMethod.Proxy#proxy()
change condition mistake
ROOVY-6911: Incorrect parametrization of generic type leads to ArrayIndexOutOfBoundsException