Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [lyo-dev] Apache Jena is migrating to JDK 11

Hi

 

It would be nice to move to java 11 pretty soon, because more and more libraries are expecting that. For Lyo Designer, I see us moving to Java11 as a next step, since we are stuck on older versions of Eclipse, EMF, Sirius otherwise. We can gain many features if we can rely on the latest versions otherwise.

 

Can you estimate the effort we need to move to 11?

 

regards

______________________________

Jad El-khoury, PhD

KTH Royal Institute of Technology

School of Industrial Engineering and Management, Mechatronics Division

Brinellvägen 83, SE-100 44 Stockholm, Sweden

Phone: +46(0)8 790 6877 Mobile: +46(0)70 773 93 45

jad@xxxxxx, www.kth.se

 

From: lyo-dev-bounces@xxxxxxxxxxx <lyo-dev-bounces@xxxxxxxxxxx> On Behalf Of Andrii Berezovskyi
Sent: 11 January 2021 13:40
To: Lyo project developer discussions <lyo-dev@xxxxxxxxxxx>
Subject: [lyo-dev] Apache Jena is migrating to JDK 11

 

Hi,

 

Jena has migrated to Java 11 in the latest SNAPSHOT, I believe the main cause is that the new JSON-LD 1.1 library is JDK11+ (full thread: https://markmail.org/message/plhgjoci4txzyowf). We should ask them to reconsider, or ask them to backport security fixes to old versions (unlikely w/o financial support). Aside of that, we shall start considering a move of Lyo to JDK 11 ourselves. 

 

If anyone is ready to step up and offer financial support to Jena to keep the security fixes applied to an older version of Jena, please speak up. Otherwise I recommend you add a test matrix like this one to your builds: https://github.com/oslc-op/refimpl/blob/master/.github/workflows/maven.yml#L20  I think it's fairly safe to say Lyo 5.x will be JDK 11+ compatible because we are not planning to fork and maintain our dependencies that are moving to JDK 11 (we already build RefImpl on JDK 8, 11, 15, 16ea, 17ea without problems https://github.com/oslc-op/refimpl/actions/runs/476842056).

 

--
Cheers,
Andrew



Begin forwarded message:

 

From: Andy Seaborne <andy@xxxxxxxxxx>

Subject: Re: Java 8 or 11?

Date: 8 January 2021 at 23:45:12 CET

Reply-To: <users@xxxxxxxxxxxxxxx>

 

The Jena build has been switched to produce Java11 bytecode.

Nothing else in the codebase has been changed so this is easily reversible at the moment.

Using SNAPSHOT artifacts will get you Java11 bytecode.

There is currently some problems producing javadoc

One problem is [1] on early Java11 releases (11.0.1, 11.0.2, but not the GA release 11.0.0). Update-to-date Java11 is now 11.0.9 and works

Another is overlapping packages across modules using automatic module naming.

These do not affect the running of Jena.

   Andy

[1] https://bugs.openjdk.java.net/browse/JDK-8212233

 


Back to the top