Java compiler rejects variable declaration with parameterized inner class
- by Johansensen
I have some Groovy code which works fine in the Groovy bytecode compiler, but the Java stub generated by it causes an error in the Java compiler. I think this is probably yet another bug in the Groovy stub generator, but I really can't figure out why the Java compiler doesn't like the generated code.
Here's a truncated version of the generated…