jclouds
  1. jclouds
  2. JCLOUDS-427

Upgrading JDK from 1.7.0_45 to 1.7.0_51 causes problems when searching for interface implementations

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Critical Critical
    • Resolution: Fixed
    • Affects Version/s: 1.6.3, 1.7.0
    • Fix Version/s: 1.7.1, 1.8.0
    • Component/s: jclouds-core
    • Labels:
      None

      Description

      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;

      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)
      

      I've tested using OpenJDK on Centos 6.4 and Oracle JDK on OS X 10.9 with the same results.

      1. JCLOUDS-427-1.6.x.patch
        9 kB
        Andrew Phillips
      2. JCLOUDS-427.patch
        9 kB
        Andrew Phillips

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Andrew Phillips
              Reporter:
              graham o'regan
            • Votes:
              6 Vote for this issue
              Watchers:
              16 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development