Community
Participate
Working Groups
Created attachment 204759 [details] test project Hallo, the following test example throws java.lang.reflect.GenericSignatureFormatError import java.util.*; public aspect A { public interface I {} public List<?> I.test(Enum<?> ... values) { return null; } } import java.beans.*; public class T implements A.I { public static void main(String[] args) throws IntrospectionException { System.out.println(Introspector.getBeanInfo(T.class).getBeanDescriptor()); } } This seams only appear in this combination with a generic vararg parameter (not only Enum<?> also List<?> or Map<?,?>) and a complex return type. No problems with public String I.test(Enum<?> ... values) : simple return type public List<?> I.test(Enum<?> values) : no vararg public List<?> I.test(Enum ... values) : raw parameter type Environment: Eclipse IDE for Java Developers Version: Indigo Service Release 1 Build id: 20110916-0149 java version "1.7.0" Java(TM) SE Runtime Environment (build 1.7.0-b147) Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode) Eclipse AspectJ Development Tools Version: 2.2.0.e37x-20111004-0800 AspectJ version: 1.6.12.20111003171000 Any idea? Thanks! max
This looks more like an AspectJ bug. Note that Java 7 is not yet supported by AspectJ.
With Java6 this project compiles and runs fine for me. Looks related to use of Java7.
Is there any roadmap for java 7 support available ?
Hopefully before year end we will have full Java 7 support. However, I don't imagine this bug necessarily requires a fully upgrade to Java7 - it is likely something straightforward.
May be related to Bug #394535 (which occurs on JDK 1.6).