GROOVY-6478: ensure placeholder generation is using a correct representation when connecting generics
GROOVY-6771, GROOVY-6768: GroovyMain should set the context class loader to the GroovyClassLoader