Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.8.0
-
None
Description
For this code:
class Foo { static interface A{} static interface B{} // (1) static class Inner<X> {} static Inner<A> method() {} // (2) } println new Foo()
This error is received:
java.lang.ClassFormatError: Duplicate entry in InnerClasses in class file Foo
Removing either the declaration of B at (1) or the Generics attribute <A> on the type Inner at (2) will avoid the error.