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.
Subject: Re: Java 8 or 11?
Date:
8 January 2021 at 23:45:12 CET
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