[ https://issues.apache.org/jira/browse/SLING-12260?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Konrad Windszus updated SLING-12260: ------------------------------------ Affects Version/s: Event 4.3.14 (was: Event 4.3.12) > Sling Events does not Build on Java 21 > -------------------------------------- > > Key: SLING-12260 > URL: https://issues.apache.org/jira/browse/SLING-12260 > Project: Sling > Issue Type: Bug > Components: Event > Affects Versions: Event 4.3.14 > Reporter: Konrad Windszus > Assignee: Konrad Windszus > Priority: Major > Fix For: Event 4.3.14 > > > Attempting to build Sling Events with Java 17 fails with: > {code:java} > [main] INFO org.apache.jackrabbit.oak.plugins.index.IndexUpdate - Reindexing > completed > [ERROR] Tests run: 4, Failures: 0, Errors: 4, Skipped: 0, Time elapsed: 1.935 > s <<< FAILURE! - in org.apache.sling.event.impl.jobs.queues.TestTopicHalting > [ERROR] > org.apache.sling.event.impl.jobs.queues.TestTopicHalting.testUnhalting Time > elapsed: 1.506 s <<< ERROR! > java.lang.NoClassDefFoundError: java/security/acl/Group > at java.base/java.lang.ClassLoader.defineClass1(Native Method) > at java.base/java.lang.ClassLoader.defineClass(ClassLoader.java:1012) > at > java.base/java.security.SecureClassLoader.defineClass(SecureClassLoader.java:150) > at > java.base/jdk.internal.loader.BuiltinClassLoader.defineClass(BuiltinClassLoader.java:862) > at > java.base/jdk.internal.loader.BuiltinClassLoader.findClassOnClassPathOrNull(BuiltinClassLoader.java:760) > at > java.base/jdk.internal.loader.BuiltinClassLoader.loadClassOrNull(BuiltinClassLoader.java:681) > at > java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:639) > > {code} > This class is deprecated for removal in Java 11: > https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/security/acl/Group.html -- This message was sent by Atlassian Jira (v8.20.10#820010)