Hi all, I would like to ask if the following is a known issue or if I am doing something completely the wrong way:
org.apache.webbeans.portable.AbstractAnnotatedCallable::setAnnotatedParameters( Type[] genericParameterTypes,Annotation[][] parameterAnnotations) throws an ArrayIndexOutOfBoundsException because equal length is assumed for arrays "genericParameterTypes" and "parameterAnnotations". However, this is not true for constructors of non-static inner classes because of the compiler generated constructor that has an extra first parameter for the outer class. Further explanation here: https://github.com/google/guava/issues/1527#issuecomment-61352948 http://thecodersbreakfast.net/index.php?post/2011/09/26/Inner-classes-and-the-myth-of-the-default-constructor Unfortunately this issue is somewhat cumbersome to reproduce because it happens when running TomEE embedded 7.0.0 and using the Maven Shade plugin for a "fat" JAR. (No problems with 7.0.0.M3) Example classes triggering the issue would be: org.opensaml.xmlsec.keyinfo.impl.BasicKeyInfoGeneratorFactory$BasicKeyInfoGenerator in opensaml-xmlsec-impl-3.1.1 org.opensaml.saml.metadata.resolver.impl.AbstractDynamicMetadataResolver OpenWebBeans is 1.6.3, as shipped with TomEE embedded 7.0.0. And this is my Java: java version "1.8.0_65" Java(TM) SE Runtime Environment (build 1.8.0_65-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode) Thank you for investigating and sorry again if I the fault was mine. Regards, Kay
