Hi,

Changing subject to make sure we get enough attention. With Oak 1.50
requiring Java 11 it does not look like we can hold on to Java 8 for
much longer.

I filed https://issues.apache.org/jira/browse/SLING-11840 to track
this.

If anyone sees a reason to keep supporting Java 8, please say so.

Note that this does not mean that the Sling bundles need to bump the
required version to Java 11, they can keep supporting Java 8 as long as
it is desired.

Thanks,
Robert

On Thu, 2023-04-20 at 10:37 -0700, Eric Norman wrote:
> > 
> > 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 <romb...@apache.org>
> 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