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

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


     [ https://issues.jboss.org/browse/SHRINKRES-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Andrew Rubinger resolved SHRINKRES-78.
--------------------------------------

    Resolution: Done


Upstream:

https://github.com/shrinkwrap/resolver/commit/30f40207c74674c46df50ca65a9cae2681261fd5
https://github.com/shrinkwrap/resolver/commit/010bf4045c6622a98fb4207285b9e6d6c5dc0d08

Verified as compiling in JDK7 in CI:

https://shrinkwrap.ci.cloudbees.com/job/ShrinkWrap_Resolver_upstream-master/55/
                
> 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
>
> {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