Hello,
I have no objection to allow java 22 in the incubator group.
We might need an endorsed-22 group when those panama bindings (or other
new stuffs) will reach a mature state.
But before it happens we might have Java-25 LTS available, so let's wait
and see.
Johann Sorel
Le 25/06/2024 à 18:41, Martin Desruisseaux a écrit :
Hello all
Project Panama (the successor of JNI) became final in Java 22. This is
useful for reading or writing some data formats. However, we cannot
use Panama in Apache SIS yet since SIS targets Java 11. But there is a
way to conciliate the two. SIS is made of 3 groups of module:
* "endorsed": includes metadata, referencing, features, coverage,
GeoTIFF, etc. Those modules are part of SIS releases and target
Java 11.
* "incubator": includes Shapefile, Coverage-JSON, CQL, etc. Those
modules are not part of SIS releases yet.
* "optional": includes JavaFX application because of its LGPL
dependency.
While the "endorsed" and "incubator" groups of modules target Java 11,
the "optional" group of modules already targets Java 16 because this
is the oldest version providing a functionality that was needed for
the JavaFX application. I propose to do a similar upgrade to the
"incubator" group of modules. Those modules would require Java 22.
Note that this upgrade has no incidence on the "endorsed" group of
modules, which would continue to target Java 11. In particular, the
referencing, features, coverages and GeoTIFF services would continue
to be on Java 11.
Is there any comment or objection?
Martin