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

Java 8 compilation failure in ConfigurationParametersTest.java

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.7.0, 1.8.0, 1.6.21
    • core
    • None

    Description

      After switching to Java 8:

      Index: oak-parent/pom.xml
      ===================================================================
      --- oak-parent/pom.xml  (revision 1790388)
      +++ oak-parent/pom.xml  (working copy)
      @@ -63,8 +63,8 @@
           <h2.version>1.4.194</h2.version>
           <findbugs.version>3.0.0</findbugs.version>
           <derby.version>10.12.1.1</derby.version>
      -    <java.version>1.7</java.version>
      -    <java.version.signature>java17</java.version.signature>
      +    <java.version>1.8</java.version>
      +    <java.version.signature>java18</java.version.signature>
      

      we get

      [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.5.1:testCompile (default-testCompile) on project oak-core: Compilation failure
      [ERROR] C:\projects\apache\oak\trunk\oak-core\src\test\java\org\apache\jackrabbit\oak\spi\security\ConfigurationParametersTest.java:[291,8] error: reference to assertEquals is ambiguous
      

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment