You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Julian Reschke (JIRA)" <ji...@apache.org> on 2017/09/27 10:23:00 UTC

[jira] [Updated] (OAK-6730) oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java does not compile with jdk 9

     [ https://issues.apache.org/jira/browse/OAK-6730?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Julian Reschke updated OAK-6730:
--------------------------------
    Description: 
{noformat}
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[199,36] incompatible types: inference variable T has incompatible bounds
    upper bounds: java.lang.Iterable<? extends capture#1 of ? extends org.apache.jackrabbit.oak.spi.commit.CommitHook>,java.lang.Object
    lower bounds: java.util.List<? extends org.apache.jackrabbit.oak.spi.commit.CommitHook>
[ERROR] /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[210,36] incompatible types: inference variable T has incompatible bounds
    upper bounds: java.lang.Iterable<? extends capture#2 of ? extends org.apache.jackrabbit.oak.spi.commit.ValidatorProvider>,java.lang.Object
    lower bounds: java.util.List<? extends org.apache.jackrabbit.oak.spi.commit.ValidatorProvider>
[ERROR] /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[227,36] incompatible types: inference variable T has incompatible bounds
    upper bounds: java.lang.Iterable<? extends capture#3 of ? extends org.apache.jackrabbit.oak.spi.xml.ProtectedItemImporter>,java.lang.Object
    lower bounds: java.util.List<? extends org.apache.jackrabbit.oak.spi.xml.ProtectedItemImporter>
{noformat}

  was:
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[199,36] incompatible types: inference variable T has incompatible bounds
    upper bounds: java.lang.Iterable<? extends capture#1 of ? extends org.apache.jackrabbit.oak.spi.commit.CommitHook>,java.lang.Object
    lower bounds: java.util.List<? extends org.apache.jackrabbit.oak.spi.commit.CommitHook>
[ERROR] /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[210,36] incompatible types: inference variable T has incompatible bounds
    upper bounds: java.lang.Iterable<? extends capture#2 of ? extends org.apache.jackrabbit.oak.spi.commit.ValidatorProvider>,java.lang.Object
    lower bounds: java.util.List<? extends org.apache.jackrabbit.oak.spi.commit.ValidatorProvider>
[ERROR] /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[227,36] incompatible types: inference variable T has incompatible bounds
    upper bounds: java.lang.Iterable<? extends capture#3 of ? extends org.apache.jackrabbit.oak.spi.xml.ProtectedItemImporter>,java.lang.Object
    lower bounds: java.util.List<? extends org.apache.jackrabbit.oak.spi.xml.ProtectedItemImporter>



> oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java does not compile with jdk 9
> ---------------------------------------------------------------------------------------------------------------------
>
>                 Key: OAK-6730
>                 URL: https://issues.apache.org/jira/browse/OAK-6730
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: core
>    Affects Versions: 1.7.8
>            Reporter: Julian Reschke
>
> {noformat}
> [ERROR] COMPILATION ERROR :
> [INFO] -------------------------------------------------------------
> [ERROR] /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[199,36] incompatible types: inference variable T has incompatible bounds
>     upper bounds: java.lang.Iterable<? extends capture#1 of ? extends org.apache.jackrabbit.oak.spi.commit.CommitHook>,java.lang.Object
>     lower bounds: java.util.List<? extends org.apache.jackrabbit.oak.spi.commit.CommitHook>
> [ERROR] /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[210,36] incompatible types: inference variable T has incompatible bounds
>     upper bounds: java.lang.Iterable<? extends capture#2 of ? extends org.apache.jackrabbit.oak.spi.commit.ValidatorProvider>,java.lang.Object
>     lower bounds: java.util.List<? extends org.apache.jackrabbit.oak.spi.commit.ValidatorProvider>
> [ERROR] /C:/projects/apache/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java:[227,36] incompatible types: inference variable T has incompatible bounds
>     upper bounds: java.lang.Iterable<? extends capture#3 of ? extends org.apache.jackrabbit.oak.spi.xml.ProtectedItemImporter>,java.lang.Object
>     lower bounds: java.util.List<? extends org.apache.jackrabbit.oak.spi.xml.ProtectedItemImporter>
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)