I committed a change
for (Constructor<?> constructor : clazz.getDeclaredConstructors())
{
AnnotatedConstructor<T> annotatedConstructor = new
AnnotatedConstructorImpl<T>((Constructor<T>) constructor, this);
should work on JDK6.
On Tue, Nov 11, 2008 at 10:41 PM, Michael Brackx
<michael.javaone+webbeans(a)gmail.com> wrote:
Hi,
The build fails for me with java 6. Might be known or unsupported, but
nothing was mentioned on
http://www.seamframework.org/WebBeans/GuidelinesForWebBeansRIDevelopment
Environment:
Maven version: 2.0.9
Java version: 1.6.0_07
OS name: "windows xp" version: "5.1" arch: "x86" Family:
"windows"
error:
[INFO] Compilation failure
...\webbeans-ri\src\main\java\org\jboss\webbeans\introspector\impl\SimpleAnnotatedClass.java:[234,69]
incompatible types
found : java.lang.reflect.Constructor<?>
required: java.lang.reflect.Constructor<T>
Michael Brackx
_______________________________________________
webbeans-dev mailing list
webbeans-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/webbeans-dev
--
---
Nik