You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2018/01/17 20:40:00 UTC

[jira] [Commented] (JCLOUDS-1101) JDK 9 compatibility

    [ https://issues.apache.org/jira/browse/JCLOUDS-1101?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16329422#comment-16329422 ] 

ASF subversion and git services commented on JCLOUDS-1101:
----------------------------------------------------------

Commit 2a56db09571164d94ddab1ec6f4a8a766e615acc in jclouds's branch refs/heads/master from [~gaul]
[ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=2a56db0 ]

JCLOUDS-1101: Upgrade to modernizer-maven-plugin 1.6.0

This resolves issues with Java 9.  Release notes:

https://github.com/gaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.5.0
https://github.com/gaul/modernizer-maven-plugin/releases/tag/modernizer-maven-plugin-1.6.0


> JDK 9 compatibility
> -------------------
>
>                 Key: JCLOUDS-1101
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-1101
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-core
>    Affects Versions: 2.1.0
>            Reporter: Andrew Gaul
>            Assignee: Andrew Gaul
>            Priority: Major
>
> Compiling with JDK 9 build 111 yields:
> {noformat}
> [ERROR] COMPILATION ERROR : 
> [ERROR] /home/gaul/work/jclouds/core/src/main/java/org/jclouds/json/internal/NamingStrategies.java:[264,36] incompatible types: com.google.common.base.Predicate<capture#1 of ? extends java.lang.Class<? extends java.lang.annotation.Annotation>> cannot be converted to com.google.common.base.Predicate<? super java.lang.Class<? extends java.lang.annotation.Annotation>>
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project jclouds-core: Compilation failure
> [ERROR] /home/gaul/work/jclouds/core/src/main/java/org/jclouds/json/internal/NamingStrategies.java:[264,36] incompatible types: com.google.common.base.Predicate<capture#1 of ? extends java.lang.Class<? extends java.lang.annotation.Annotation>> cannot be converted to com.google.common.base.Predicate<? super java.lang.Class<? extends java.lang.annotation.Annotation>>
> {noformat}
> Apparently our code is incorrect:
> https://bugs.openjdk.java.net/browse/JDK-8075793



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)