>
> 2. Officially drop support for Java 8 in the Starter (not necessarily
> the bundles) and incorporate Parsson
>

I wouldn't have a problem with bumping the minimum java version for the
starter to the minimum LTS OpenJDK version that is still receiving active
support (currently version 11).   It looks like active support for OpenJDK
8 ended over a year ago and it now receives only security related fixes.

Also, Oak 1.50.0 now requires java 11 so we can't use the latest production
release of oak with java 8.

Regards,
-Eric

On Wed, Apr 19, 2023 at 1:21 PM Robert Munteanu <[email protected]> wrote:

> On Wed, 2023-04-19 at 16:54 +0200, Robert Munteanu wrote:
> > I added Parsson to the contentloader 2.6.0 PR
> >
> >   https://github.com/apache/sling-org-apache-sling-starter/pull/105
> >
> > Seems to work fine locally. I will split this to a different PR, just
> > wanted to push it out there for review.
> >
> > Thanks,
> > Robert
>
> Parsson requires Java 9, but we still run tests on Java 8
>
> [ERROR] [requirements-capabilities]
> org.eclipse.parsson:jakarta.json:1.1.1: Artifact
> org.eclipse.parsson:jakarta.json:1.1.1 requires
> [org.eclipse.parsson.jakarta.json/1.1.1] osgi.ee;
> filter:="(&(osgi.ee=JavaSE)(version=9))" in start level 1 but no
> artifact is providing a matching capability in this start level.
>
> There are two ways out:
>
> 1. Look for another parser implementation
> 2. Officially drop support for Java 8 in the Starter (not necessarily
> the bundles) and incorporate Parsson
>
> I slightly favour option 2, I think people deploying new versions of
> the Starter can choose a more recent version of the Java runtime.
>
> Thoughts?
>
> Robert
>

Reply via email to