You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cayenne.apache.org by "Nikita Timofeev (Jira)" <ji...@apache.org> on 2021/12/09 11:53:00 UTC

[jira] [Closed] (CAY-2711) JDK 17 compatibility

     [ https://issues.apache.org/jira/browse/CAY-2711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nikita Timofeev closed CAY-2711.
--------------------------------
    Resolution: Fixed

> 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.B2
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)