Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.8.0
-
Fix Version/s: 1.8.1
-
Component/s: None
-
Labels:None
-
Number of attachments :
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.