Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.0, 2.0.3
    • Component/s: None
    • Labels:

      Description

      Correction, not a guava issue but Java 1.8, seems to be the only one

      Oracle JDK 1.8.0_102

      src/main/java/org/jclouds/rest/internal/TransformerForRequest.java:88: error: method create in interface Factory cannot be applied to given types;
      transformer = parserFactory.create(injector.getInstance(handler));
      ^
      required: HandlerWithResult<T#1>
      found: CAP#1
      reason: inference variable T#2 has incompatible bounds
      equality constraints: CAP#2
      upper bounds: HandlerWithResult<CAP#3>,Object
      where T#1,T#2 are type-variables:
      T#1 extends Object declared in method <T#1>create(HandlerWithResult<T#1>)
      T#2 extends Object declared in method <T#2>getInstance(Class<T#2>)
      where CAP#1,CAP#2,CAP#3 are fresh type-variables:
      CAP#1 extends HandlerWithResult<?> from capture of ? extends HandlerWithResult<?>
      CAP#2 extends HandlerWithResult<?> from capture of ? extends HandlerWithResult<?>
      CAP#3 extends Object from capture of ?

        Issue Links

          Activity

          Hide
          gaul Andrew Gaul added a comment -

          Need to change Cloudbees to run with the newly released Guava 20.

          Show
          gaul Andrew Gaul added a comment - Need to change Cloudbees to run with the newly released Guava 20.
          Hide
          wlt-ml@o-sinc.com William L Thomson Jr added a comment -

          Looks like this is related to guice + 1.8. I made a patch but not sure it is the proper way to address the issue. Just one that allows it to build now, but could be some runtime issue if it is not the proper way to address the issue.

          Show
          wlt-ml@o-sinc.com William L Thomson Jr added a comment - Looks like this is related to guice + 1.8. I made a patch but not sure it is the proper way to address the issue. Just one that allows it to build now, but could be some runtime issue if it is not the proper way to address the issue.
          Hide
          wlt-ml@o-sinc.com William L Thomson Jr added a comment -

          Attempt to fix compilation issues

          Show
          wlt-ml@o-sinc.com William L Thomson Jr added a comment - Attempt to fix compilation issues
          Hide
          wlt-ml@o-sinc.com William L Thomson Jr added a comment -

          Will see if tests pass or not
          https://github.com/jclouds/jclouds/pull/1036

          Show
          wlt-ml@o-sinc.com William L Thomson Jr added a comment - Will see if tests pass or not https://github.com/jclouds/jclouds/pull/1036
          Hide
          gaul Andrew Gaul added a comment -

          Resolved by 6de7974a66fe70c0bf5b72e80720f4e1824b393d.

          Show
          gaul Andrew Gaul added a comment - Resolved by 6de7974a66fe70c0bf5b72e80720f4e1824b393d.

            People

            • Assignee:
              nacx Ignasi Barrera
              Reporter:
              wlt-ml@o-sinc.com William L Thomson Jr
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development