Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.8.1
-
None
Description
Static inner classes that are imported into Groovy scripts just fine in 1.8 are causing compilation issues in 1.8.1
To reproduce:
1) Java class Foo.Bar where Bar is public static within Foo.
2) Groovy script references the Foo.Bar as a type with an arglist to a method.
3) Groovy/Maven/Shim compiler puts a $ in the generated Java source name instead of a dot.
As I said, all that changed between working and not working is the version of Groovy. This worked in 1.8.0 and at least some recent 1.7.x versions.