jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (JCLOUDS-427) Upgrading JDK from 1.7.0_45 to 1.7.0_51 causes problems when searching for interface implementations
Date Fri, 24 Jan 2014 04:29:37 GMT

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

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

Commit 8ff60020f85ae5d9f57e9a25a6342fb7b00e1d2a in branch refs/heads/master from [~andrewp]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=8ff6002 ]

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
>         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)

Mime
View raw message