[shrinkwrap-issues] [JBoss JIRA] (SHRINKRES-78) Build under JDK 7 fails

Andrew Rubinger (JIRA) jira-events at lists.jboss.org
Mon Nov 5 23:44:18 EST 2012


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

Andrew Rubinger commented on SHRINKRES-78:
------------------------------------------

And a logging change here: https://github.com/shrinkwrap/resolver/commit/6f43e2d64065477f358a994bea111aad86673e91
                
> Build under JDK 7 fails
> -----------------------
>
>                 Key: SHRINKRES-78
>                 URL: https://issues.jboss.org/browse/SHRINKRES-78
>             Project: ShrinkWrap Resolvers
>          Issue Type: Bug
>         Environment: jdk 7
>            Reporter: Michal Matloka
>            Assignee: Andrew Rubinger
>             Fix For: 2.0.0-alpha-5
>
>
> {noformat}
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) on project shrinkwrap-resolver-api: Compilation failure: Compilation failure:
> [ERROR] \Dev\JBoss\shrinkwrap resolver\api\src\main\java\org\jboss\shrinkwrap\resolver\api\FormatStage.java:[67,18] error: name clash: as(Class<InputStream>) and as(Class<File>) have the same erasure
> [ERROR] \Dev\JBoss\shrinkwrap resolver\api\src\main\java\org\jboss\shrinkwrap\resolver\api\FormatStage.java:[81,16] error: name clash: asSingle(Class<InputStream>) and asSingle(Class<File>) have the same erasure
> {noformat}
> This article describes cause of this problem: http://notatube.blogspot.com/2010/07/interesting-change-to-method-signature.html
> Resoluion - API change?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the shrinkwrap-issues mailing list