Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 2.0-beta-3
-
Component/s: None
-
Labels:
-
Number of attachments :
Description
Groovy allows to make a class like this: private class X{}.
The result is a top level class, that will be having the private modifier set. But the JVM spec does not include this modifier in the allowed modifiers for classes. Instead this modifier is supposed to be a reserved flag for future use. The violation of this causes internal errors when using indy.
I reduced the priority a bit because I found it was not this, that causes the indy internal error. The same issue happens with package scoped classes. Also those private classes are quite a bit in use it seems. It would maybe be better to provide an implementation for example as static inner class or such