[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [gef-dev] Java 21 for GEF-Classic
|
- From: Patrick Ziegler <ziegler.patrick@xxxxxxxxxx>
- Date: Fri, 20 Dec 2024 21:40:14 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=8ErUB9MTlv96hc7MoBbKNi0B9KFPTjy8uNStRct28pM=; b=UaHLoIAoYUywAQz921H+1JJXoFP/oFXsFP+2fOV/nrzp9mGaZBZqaIYLflg0m0lwD7Ai1vucgx85TlH/2pzP0k2tinPYZEMDSsWvcBYhSNc8SdO83T86Asmw6k9boU3lu3VST/p8M9rOcuTKIhtIav7apH5C7wexybPPP91cIBL8TWJC28Ip6v856Yk61W2Wvz7wIp/zxWXFCqxL1m/oH0rg/quhJmXrM3fTNMKpANquG6N2iNasmxdpg7EBRv2cxcn8H7abQFApSyRoq3bdb38tdzwp2SynfFT+mifhcJbf32pCEUPb5uR0y5+qiqYDVCMr3wo1NoUO8SxL6yIA5g==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WIEjYoTBm54gOZYehQgSF+J1p/dwYysojGHQU25GCk4fnTPLbbPlSLIiBPnbWecaz9FlpBpJRqfyiJQzwCbOjkbFsqM195Cqs78nMiLCYDBmoYj9W2+/cqgPatielaKvMfgbMYz29S/qtXwS/SUJSxKeaJDEJdFOo88GpSHlbfC5AlQqBvMU6GLTbzyST6LUiO9Tti/0XupvmCt3hlLrHWh3o1s8TyG2/KFNeESRsIE7iGFMtX87sk73+RueYUqZq/gvRzS0P6BZ3GKwPBoqnTj8r0fmz8HomHV4BbGjSKSQxxXACUg4NuzFftb7WRIyMJC3Jj91GeoVe5aHrdgcXw==
- Delivered-to: gef-dev@xxxxxxxxxxx
- List-archive: <https://www.eclipse.org/mailman/private/gef-dev/>
- List-help: <mailto:gef-dev-request@eclipse.org?subject=help>
- List-subscribe: <https://www.eclipse.org/mailman/listinfo/gef-dev>, <mailto:gef-dev-request@eclipse.org?subject=subscribe>
- List-unsubscribe: <https://www.eclipse.org/mailman/options/gef-dev>, <mailto:gef-dev-request@eclipse.org?subject=unsubscribe>
- User-agent: Mozilla Thunderbird
> As I understand it, Tycho will run tests using the
configured Java 17 in the tool chain if the project says its test
runs on Java 17.
That's how it's supposed to work but after playing around with it
for a while, I can say with high confidence that it'll fail for
two reasons:
1) We have integration tests that launch the Eclipse IDE. Because
the IDE requires Java 21, the tests now also require Java 21.
2) Because Tycho has to be run with Java 21, the tests will
always be executed with Java 21, even if explicitly told to
consider the BREE (which is still set to Java 17).
A few years ago I worked on a product that was still using Java
11, but we had to use Tycho 3.x and therefore built with Java 17.
Meaning that this behavior is very likely a regression in Tycho.
> I personally prefer that we also consider the consumers who
are generally best served with the least restrictive requirements.
That's a fair point. Then perhaps let's approach it from a
different perspective: What plugins have to be executed
with Java 21?
- As mentioned, we have the test fragments.
- We also have the documentation. It doesn't make sense to use
them without the Eclipse Help, so they should probably also
require Java 21, even if they only contain HTML.
- For GEF, I'm also leaning towards Java 21, as it depends on the
Eclipse Platform. Which is currently a real pain to configure
without accidentally pulling in a Java 21 bundle...
- For Draw2D and Zest, I'd then stick to Java 17 for the time
being, as they only depend on SWT/JFace.
On 18.12.24 14:09, Ed Merks via gef-dev
wrote:
I personally prefer that we also consider the consumers who are
generally best served with the least restrictive requirements.
As I understand it, Tycho will run tests using the configured
Java 17 in the tool chain if the project says its test runs on
Java 17.
Of course at some point some plugin dependency on which a GEF
bundle depends will change its bound to 21 and then only
building against an older target platform would allow for actual
testing of Java 17 via actual tests. If that happens during the
current 2025-03 release cycle, that might require to revisit the
decision. And of course another important consideration is what
is easiest and the least work for the developers. It's
definitely nice to be able to use the latest language features!
On 18.12.2024 12:59, Lars Vogel via
gef-dev wrote:
As always I prefer moving to the latest Java if
possible. So +1 for moving GEF to Java 21 (for the 2025-03
release).
Hello everyone,
The Eclipse Platform SDK now requires Java
21 due to the dependency to Lucene 10.x which has
already led to build problems that could be seen here
[1]. The latest GEF-Classic build uses a workaround, to
get both the Java 17 and Java 21 builds happy, but even
that is no longer possible with recent SimRel changes.
In short: We are no longer able to build and test
GEF-Classic against Java 17, using the 2025-03 staging
repository.
This now also raises the question when we
should officially drop support for Java 17. As part of
the Simultaneous Release, we are allowed to move to Java
21 since 2024-06, so all formal requirements have
already been satisfied. Personally, I would either
target the next release (as part of 2025-03) or the
release after that (2025-06). Given that we're very
early in the release cycle, both options seem valid.
What are your thoughts on this?
Many regards,
Patrick
---
[1]
https://github.com/eclipse-gef/gef-classic/pull/628
_______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/gef-dev
--
Eclipse Platform project
co-lead
CEO vogella GmbH
Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email:
lars.vogel@xxxxxxxxxxx,
Web:
http://www.vogella.com
_______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/gef-dev
_______________________________________________
gef-dev mailing list
gef-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/gef-dev