[ https://issues.apache.org/jira/browse/CAY-2711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17446354#comment-17446354 ]
Nikita Timofeev commented on CAY-2711: -------------------------------------- Gradle build is fixed per https://github.com/apache/cayenne/commit/a1a17f91f0f2e06bfc230ed393d82faa38105c19 > JDK 17 compatibility > -------------------- > > Key: CAY-2711 > URL: https://issues.apache.org/jira/browse/CAY-2711 > Project: Cayenne > Issue Type: Task > Environment: JDK 17 > Reporter: Nikita Timofeev > Assignee: Nikita Timofeev > Priority: Major > Fix For: 4.2.B1 > > > Java 17 EA builds are available for some time and the GA version to be > released relatively soon, so we need to track and fix problems with it. > For now, there are two know issues: > # Gradle plugin, we can't fix it for now as Gradle itself doesn't support > Java 17, see > [docs|https://docs.gradle.org/current/userguide/compatibility.html]. > # Protostuff module has some issues related to java modules > {code} > java.lang.ExceptionInInitializerError > at > org.apache.cayenne.rop.protostuff.ProtostuffROPSerializationTest.testColumnQuerySerialization(ProtostuffROPSerializationTest.java:119) > Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make > field private final java.lang.Object > java.util.Collections$SingletonSet.element accessible: module java.base does > not "opens java.util" to unnamed module @2ef0d60d > at > org.apache.cayenne.rop.protostuff.ProtostuffROPSerializationTest.testColumnQuerySerialization(ProtostuffROPSerializationTest.java:119) > {code} -- This message was sent by Atlassian Jira (v8.20.1#820001)