[weld-dev] Compiling Weld with JDK 7

Nicklas Karlsson nickarls at gmail.com
Sun Aug 28 11:38:24 EDT 2011


I get a


[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-compiler-plugin:2.
3.1:compile (default-compile) on project weld-core: Compilation failure
[ERROR]
\Java\dev\Weld\impl\src\main\java\org\jboss\weld\introspector\jlr\WeldAn
notationImpl.java:[57,58] error: name clash:
<A>of(Class<A>,ClassTransformer) in
 WeldAnnotationImpl and <T>of(Class<T>,ClassTransformer) in WeldClassImpl
have t
he same erasure, yet neither hides the other

Is this related to the discussion in
http://stackoverflow.com/questions/6643648/java-static-method-binding-and-generics-all-rolled-up-with-some-method-overloadi
?
and http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6793555 which
googling revealed?
-- 
---
Nik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/weld-dev/attachments/20110828/1a3c00b7/attachment.html 


More information about the weld-dev mailing list