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 Sat, 25 Jan 2014 01:29:38 GMT

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

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

Commit 478e44c5ab30421cae1a40e9c375d254bd92b207 in branch refs/heads/JCLOUDS-427-1.6.x from
[~andrewp]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=478e44c ]

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

Backport of 8ff60020f

- 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

All reflection magic now :-(


> 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, 1.7.1
>
>         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