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.patch
        9 kB
        Andrew Phillips
      2. JCLOUDS-427-1.6.x.patch
        9 kB
        Andrew Phillips

        Issue Links

          Activity

          graham o'regan created issue -
          Everett Toews made changes -
          Field Original Value New Value
          Priority Major [ 3 ] Critical [ 2 ]
          Andrew Phillips made changes -
          Assignee Andrew Phillips [ andrewp ]
          Andrew Phillips made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Andrew Phillips made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          Andrew Phillips made changes -
          Assignee Andrew Phillips [ andrewp ]
          Andrew Phillips made changes -
          Assignee Andrew Phillips [ andrewp ]
          Andrew Phillips made changes -
          Status Open [ 1 ] In Progress [ 3 ]
          Andrew Phillips made changes -
          Attachment JCLOUDS-427.patch [ 12624935 ]
          Andrew Phillips made changes -
          Status In Progress [ 3 ] Open [ 1 ]
          Andrew Phillips made changes -
          Assignee Andrew Phillips [ andrewp ]
          Andrew Phillips made changes -
          Attachment JCLOUDS-427.patch [ 12624935 ]
          Andrew Phillips made changes -
          Attachment JCLOUDS-427.patch [ 12624990 ]
          Andrew Phillips made changes -
          Assignee Andrew Phillips [ andrewp ]
          Andrew Phillips made changes -
          Fix Version/s 1.8.0 [ 12325587 ]
          Andrew Phillips made changes -
          Fix Version/s 1.7.1 [ 12325588 ]
          Andrew Phillips made changes -
          Attachment JCLOUDS-427-1.6.x.patch [ 12625199 ]
          Andrew Phillips made changes -
          Attachment JCLOUDS-427-1.6.x.patch [ 12625199 ]
          Andrew Phillips made changes -
          Attachment JCLOUDS-427-1.6.x.patch [ 12625407 ]
          Andrew Phillips made changes -
          Attachment JCLOUDS-427-1.6.x.patch [ 12625407 ]
          Andrew Phillips made changes -
          Attachment JCLOUDS-427-1.6.x.patch [ 12625408 ]
          Andrew Phillips made changes -
          Status Open [ 1 ] Resolved [ 5 ]
          Fix Version/s 1.6.4 [ 12325590 ]
          Resolution Fixed [ 1 ]
          Christian Müller made changes -
          Link This issue is depended upon by CAMEL-7171 [ CAMEL-7171 ]
          Andrew Phillips made changes -
          Fix Version/s 1.6.4 [ 12325590 ]
          Andrew Phillips made changes -
          Fix Version/s 1.6.4 [ 12325590 ]
          Ignasi Barrera made changes -
          Fix Version/s 1.6.4 [ 12325590 ]

            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