Yes it still fails without patch with latest 1.8 JDK from Oracle. I can try via
JDK 9. I will see about trying out the modifications you suggested and seeing
if that has any effect. The environment on Gentoo is a bit different. It maybe
related to my [guice
ebuild](https://github.com/Obsidian-StudiosInc/os-xtoo/blob/master/dev-java/guice/guice-4.1.ebuild),
how I am building it on Gentoo. I use some newer stuff.
```
GENTOO_VM=oracle-jdk-bin-1.8 CLASSPATH=""
JAVA_HOME="/opt/oracle-jdk-bin-1.8.0.144"
JAVACFLAGS="-source 1.8 -target 1.8" COMPILER=""
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 ?
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/1036#issuecomment-320011989