Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Critical
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.0-JSR-4
-
Fix Version/s: 1.0-JSR-6
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
Prior to JSR-4 I was able to access to access nested enums such as:
public class Foo {
public enum Bar { BAZ }
}
like so:
def x = Foo.Bar.BAZ
Now I get a "groovy.lang.MissingFieldException: No such field: Bar for class: java.lang.Class".
Looks like this is working again in JSR-6...