Uploaded image for project: '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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 1.6.3, 1.7.0
    • 1.7.1, 1.8.0
    • jclouds-core
    • 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.

      Attachments

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

        Issue Links

          Activity

            People

              andrewp Andrew Phillips
              grahamoregan graham o'regan
              Votes:
              6 Vote for this issue
              Watchers:
              15 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: