[
https://issues.apache.org/jira/browse/SIS-602?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17863847#comment-17863847
]
Martin Desruisseaux commented on SIS-602:
-----------------------------------------
Note: the {{org.apache.sis.io.stream.InputStreamArrayGetter}} hack does not
work anymore in Java 22 and needs to be removed.
> Fix compatiblity with Java 22
> -----------------------------
>
> Key: SIS-602
> URL: https://issues.apache.org/jira/browse/SIS-602
> Project: Spatial Information Systems
> Issue Type: Task
> Affects Versions: 0.7, 0.8, 1.0, 1.1, 1.2, 1.3, 1.4
> Reporter: Martin Desruisseaux
> Assignee: Martin Desruisseaux
> Priority: Major
> Fix For: 1.5
>
>
> The introduction of {{SequencedCollection}} in Java 21 requires that we
> modify the following classes for avoiding method collision:
> * {{org.apache.sis.util.collection.IntegerList}} (collision on
> {{removeLast()}})
> * {{org.apache.sis.util.collection.FrequencySortedSet}} (collision on
> {{comparator()}})
> Note that this is *not* about upgrading the Java requirement to Java 22. The
> requirement stay Java 11. This is only about making the project compilable
> with Java 22.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)