[weld-issues] [JBoss JIRA] (WELD-1127) Weld build failing on JDK 7

Daniel Sachse (JIRA) jira-events at lists.jboss.org
Fri May 4 03:51:19 EDT 2012


    [ https://issues.jboss.org/browse/WELD-1127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12690313#comment-12690313 ] 

Daniel Sachse commented on WELD-1127:
-------------------------------------

Thanks for your hint!

I tried the following:

git clone https://github.com/alesj/core.git
cd core
git remote add upstream https://github.com/weld/core.git
git fetch upstream
git rebase upstream/master

Unfortunatly this ends with a vast number of merge conflicts.

I also tried to checkout and build weld/core which builds, except that I am encoutering https://issues.jboss.org/browse/WELD-1124.
                
> Weld build failing on JDK 7
> ---------------------------
>
>                 Key: WELD-1127
>                 URL: https://issues.jboss.org/browse/WELD-1127
>             Project: Weld
>          Issue Type: Bug
>    Affects Versions: 1.1.7.Final
>         Environment: Windows 7, JDK 1.7.0_03
>            Reporter: Daniel Sachse
>            Assignee: Ales Justin
>              Labels: jdk, osgi
>
> When I try to compile Weld on my JDK 7 installation, the build fails with the following output:
> [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\WeldAnnotationImpl.java:[57,58] error: name clash: <A>of(Class<A>,ClassTransformer) in WeldAnnotationImpl and <T>of(Class<T>,ClassTransformer) in WeldClassImpl have the same erasure, yet neither hides the other
> The problem was also mentioned in the weld-dev mailing list, unfortunatly there was no response : http://lists.jboss.org/pipermail/weld-dev/2011-August/002956.html
> My specific use-case in which I got the error was that I was trying to get the weld-osgi branch to work which is provided by Ales Justin (JBoss Weld lead) under: https://github.com/alesj/core.git

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list