[ https://issues.apache.org/jira/browse/SLING-11843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17716611#comment-17716611 ]
Robert Munteanu commented on SLING-11843: ----------------------------------------- One concern that I have with Java 17 is that projects using PowerMock will be broken - see https://stackoverflow.com/questions/69896191/powermock-compatibility-with-jdk-17 . > Change Default JDK/OS for Jenkins Builds to JDK11/17 on Unix/Windows > -------------------------------------------------------------------- > > Key: SLING-11843 > URL: https://issues.apache.org/jira/browse/SLING-11843 > Project: Sling > Issue Type: Improvement > Components: CI > Reporter: Konrad Windszus > Assignee: Konrad Windszus > Priority: Major > > Currently our Jenkins jobs by default only run on JDK8 with Linux. > I would propose to change the default (mentioned in > https://cwiki.apache.org/confluence/display/SLING/Sling+module+descriptor#Slingmoduledescriptor-DefaultValues) > to > * Build with JDK 11 and 17 on > * Windows and Linux > Although this might break some builds, I think it is time now to make all > modules compatible with it once we touch it for whatever reason. -- This message was sent by Atlassian Jira (v8.20.10#820010)