Joerg Hoh created SLING-12662:
---------------------------------

             Summary: Build with Java 11, 17 and 21
                 Key: SLING-12662
                 URL: https://issues.apache.org/jira/browse/SLING-12662
             Project: Sling
          Issue Type: Task
          Components: Repoinit
    Affects Versions: Repoinit JCR 1.1.52
            Reporter: Joerg Hoh


Currently the CI build on Java 8 fails with

{noformat}
[ERROR] 
/home/jenkins/jenkins-agent/workspace/_apache-sling-jcr-repoinit_PR-58/jdk_1.8_latest/src/test/java/org/apache/sling/jcr/repoinit/GeneralAclTest.java:[34,43]
 cannot access org.apache.sling.testing.mock.sling.ResourceResolverType
  bad class file: 
/home/jenkins/jenkins-agent/workspace/_apache-sling-jcr-repoinit_PR-58/jdk_1.8_latest/.repository/org/apache/sling/org.apache.sling.testing.sling-mock.core/3.5.2/org.apache.sling.testing.sling-mock.core-3.5.2.jar(org/apache/sling/testing/mock/sling/ResourceResolverType.class)
    class file has wrong version 55.0, should be 52.0
{noformat}

we should update the JDKs for the CI Build to use Java 11, 17 and 21 (the 
supported LTS releases)




--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to