DIscussing dropping support for Java 11

46 views
Skip to first unread message

Colin Alworth

unread,
Oct 26, 2025, 3:28:58 PM (5 days ago) Oct 26
to GWT Contributors
Its been about three years since the last thread on deprecations, and the Java 8 deprecation ended up going by with barely a whisper.

On the other hand, I'm hearing more interest in Java 21+ features than we did for Java 17 at the time - but updating JDT so that we can provide those will require dropping support to run on Java 11.

We seem to be close to a GWT 2.13 release, so GWT 2.14 would be the earliest this would take place. The expectation in turn would be that our JDT version would then be updated, and possibly Jetty as well. Thoughts?

Frank Hossfeld

unread,
Oct 27, 2025, 3:41:42 AM (5 days ago) Oct 27
to GWT Contributors
I see no reason to support Java 11 now. Many of my clients are already on Java 17 or planing to move to Java 17 in the near future.  

I think, the benefit of dropping support for Java 11 is much greater than supporting it. So, from my point of view: let's drop it. 


Axel Uhl

unread,
Oct 27, 2025, 5:37:49 AM (5 days ago) Oct 27
to google-web-tool...@googlegroups.com
https://devclass.com/2025/01/30/state-of-java-report-shows-strong-migration-from-java-8-rise-of-apache-spark/
from January 2025 lists 46% of Java projectcs being on Java 8 and older.
I'm not aware of stats about GWT usage; my assumption is that not too
many new projects are being started with GWT these days. There may well
be a correlation of GWT users with users of older JDKs.

For us, with https://github.com/SAP/sailing-analytics we have been using
GWT since 2011. Our production runtime is still on SAPJVM8 for a number
of reasons, although we also ensure runtime compatibility up to Java 24.

https://github.com/gwtproject/gwt/issues/7987, which is essential for
our operations, wasn't pulled by the GWT team, so we're on a fork
(https://github.com/SAP/gwt-forward-serialization-rpc) anyhow and can
probably never make it back to a more modern version of GWT. As such, we
may afford the luxury of just not caring, although we'd love to see
compiler bugs such as in determining serializability of cyclic type
graphs with custom field serializers and generics fixed at some point...

Just keep the 46% in mind, most of which you've already cut off when
requiring Java 11...

Best,
-- Axel
> --
> You received this message because you are subscribed to the Google
> Groups "GWT Contributors" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to google-web-toolkit-co...@googlegroups.com
> <mailto:google-web-toolkit-co...@googlegroups.com>.
> To view this discussion visit https://groups.google.com/d/msgid/google-
> web-toolkit-contributors/72985f8a-9704-441a-
> b7aa-7d87c6efb044n%40googlegroups.com <https://groups.google.com/d/
> msgid/google-web-toolkit-contributors/72985f8a-9704-441a-
> b7aa-7d87c6efb044n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Thomas Broyer

unread,
Oct 27, 2025, 6:46:32 AM (5 days ago) Oct 27
to GWT Contributors
On Monday, October 27, 2025 at 10:37:49 AM UTC+1 hthdjeu...@googlemail.com wrote:
https://devclass.com/2025/01/30/state-of-java-report-shows-strong-migration-from-java-8-rise-of-apache-spark/
from January 2025 lists 46% of Java projectcs being on Java 8 and older.
I'm not aware of stats about GWT usage; my assumption is that not too
many new projects are being started with GWT these days. There may well
be a correlation of GWT users with users of older JDKs.

For us, with https://github.com/SAP/sailing-analytics we have been using
GWT since 2011. Our production runtime is still on SAPJVM8 for a number
of reasons, although we also ensure runtime compatibility up to Java 24.

[…]


Just keep the 46% in mind, most of which you've already cut off when
requiring Java 11...

Server runtime is different from GWT tooling at dev/build time.
GWT server libs (gwt-servlet, requestfactory-server) still support running on Java 8: https://www.gwtproject.org/release-notes.html#Release_Notes_2_12_0
What we're talking about (still, I believe) is requiring JDK 17+ for running the GWT compiler and code server.

Vassilis Virvilis

unread,
Oct 27, 2025, 7:09:11 AM (5 days ago) Oct 27
to google-web-tool...@googlegroups.com
For me current GWT development governance achieves a delicate balance between stability and new features.

GWT has been compatible with 8 long enough for me to jump to 11, then 17 and now to 21.

So for me personally it's ok to drop support for 11.

I can relate with other people that haven't had the opportunity to do the jump though.

Finally I believe that if your dev environment is 21 it would be difficult to produce compatible code with 8.
So most people that will do the jump, they will probably bite the bullet and will do it both client side and server side.

    Vassilis



--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit-contributors/3d5fee61-a423-4a43-b55b-0e8b7055c669n%40googlegroups.com.


--
Vassilis Virvilis

Thomas Broyer

unread,
Oct 27, 2025, 9:14:46 AM (5 days ago) Oct 27
to GWT Contributors
On Monday, October 27, 2025 at 12:09:11 PM UTC+1 vas...@gmail.com wrote:

Finally I believe that if your dev environment is 21 it would be difficult to produce compatible code with 8.
So most people that will do the jump, they will probably bite the bullet and will do it both client side and server side.

I have several projects that require a JDK 21 toolchain but produce Java 8 bytecode, --release 8 makes it a breeze (with no fear of using incompatible APIs either), so not really a compelling argument.

Matt Davis

unread,
Oct 27, 2025, 10:03:01 AM (5 days ago) Oct 27
to google-web-tool...@googlegroups.com
We have been on Java 21 for a long time now.  I feel like the transition from 11 to 17 is easier than the transition from 8 to 11 so I do not see a compelling reason to support 11.

--
You received this message because you are subscribed to the Google Groups "GWT Contributors" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit-co...@googlegroups.com.

Jens

unread,
Oct 27, 2025, 2:22:52 PM (4 days ago) Oct 27
to GWT Contributors
GWT has a hard dependency on JDT so I see it pragmatic and I would let GWT require to what JDT requires in order to support the latest Java language features. And for that version the latest Jetty server can be chosen.

Given that GWT is in maintenance mode GWTs server libraries can stay at 8 as long as feasable because there is no real benefit updating the requirement. But for running GWT compiler / DevMode I really don't mind which Java version is required and I don't see any reason why GWT needs to be extra conservative here. It is just the VM to run a tool and has nothing to do with the final deployment.

-- J.

Colin Alworth schrieb am Sonntag, 26. Oktober 2025 um 20:28:58 UTC+1:
Reply all
Reply to author
Forward
0 new messages