Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-6730

oak-core/src/main/java/org/apache/jackrabbit/oak/spi/security/CompositeConfiguration.java does not compile with jdk 9

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.7.8
    • 1.7.9, 1.8.0, 1.4.25, 1.6.18
    • core
    • None

    Description

      [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>
      

      Attachments

        1. OAK-6730.diff
          3 kB
          Julian Reschke

        Activity

          People

            reschke Julian Reschke
            reschke Julian Reschke
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: