[ 
https://issues.apache.org/jira/browse/JCLOUDS-427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13880747#comment-13880747
 ] 

ASF subversion and git services commented on JCLOUDS-427:
---------------------------------------------------------

Commit 597615977e7e2b10f3680aae24e541a76a1d4606 in branch refs/heads/1.7.x from 
[~andrewp]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=5976159 ]

JCLOUDS-427: Avoiding Guava reflection code broken in Java 7u51

- Adding a version of TypeToken.where that replaces two parameters in one go
- Avoiding TypeToken type parameter replacement with wildcard bounds

Works around https://code.google.com/p/guava-libraries/issues/detail?id=1635


> Upgrading JDK from 1.7.0_45 to 1.7.0_51 causes problems when searching for 
> interface implementations
> ----------------------------------------------------------------------------------------------------
>
>                 Key: JCLOUDS-427
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-427
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-core
>    Affects Versions: 1.7.0, 1.6.3
>            Reporter: graham o'regan
>            Assignee: Andrew Phillips
>            Priority: Critical
>             Fix For: 1.8.0
>
>         Attachments: JCLOUDS-427.patch
>
>
> Upgrading JDK from 1.7.0_45 to 1.7.0_51 causes problems when searching for 
> interface implementations
> Running 'mvn test' results in test failures similar to this;
> {code}
> Caused by: com.google.inject.CreationException: Guice creation errors:
> 1) 
> org.jclouds.rest.config.SyncToAsyncHttpApiProvider<org.jclouds.rest.HttpClient,
>  A> cannot be used as a key; It is not fully specified.
> 2) 
> org.jclouds.rest.config.SyncToAsyncHttpApiProvider<org.jclouds.http.IntegrationTestClient,
>  A> cannot be used as a key; It is not fully specified.
> 3) org.jclouds.rest.RestContext<org.jclouds.http.IntegrationTestClient, A> 
> cannot be used as a key; It is not fully specified.
> 4) No implementation for org.jclouds.rest.HttpClient was bound.
>   at 
> org.jclouds.rest.config.BinderUtils.bindHttpApiProvider(BinderUtils.java:106)
> 5) No implementation for org.jclouds.http.IntegrationTestClient was bound.
>   at 
> org.jclouds.rest.config.BinderUtils.bindHttpApiProvider(BinderUtils.java:106)
> {code}
> I've tested using OpenJDK on Centos 6.4 and Oracle JDK on OS X 10.9 with the 
> same results.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to