Re: [gwt-contrib] Re: Preparing for GWT 2.11 release

2023-11-15 Thread Manfred Tremmel
I can do some tests with OpenJDK 17 on Debian GNU Linux 12 (Bookworm).

Will be interested to see, how it will work together with spring boot 3.1 
(which requires a minimum of java 17), I'll be able to remove some workarounds 
in gwtp-spring-integration-client (subpackage of gwt-bean-validators).

Am Mittwoch, 15. November 2023, 03:37:38 CET schrieb Colin Alworth:
> It has taken longer than we had hoped, but I think we're just about ready -
> GWT itself can build on Java 17 (and can run on Java 23), JRE emulation is
> nearly caught up to where we wanted with Java 11, and jakarta.servlet
> support is hopefully finished and partially tested in non-trivial apps.
> 
> Here's my view of what might land before we cut a release:
> 
>- The jakarta.servlet patch is now at
>https://github.com/gwtproject/gwt/pull/9845, and is effectively ready to
>land. To my knowledge, no jakarta project has tested the
>requestfactory-*.jars yet.
>- As above, we need confirmation that
>https://github.com/gwtproject/gwt/pull/9785 solves the problem it was
>created for.
>- As above https://github.com/gwtproject/gwt/pull/9799 (fixing some
>ternary expressions and other type unions) should get at least one more
>review, approval. This will be applicable for Java 17 language support.
>- Two more JRE emulation patches:
>https://github.com/gwtproject/gwt/pull/9860 needs a review, and
>https://github.com/gwtproject/gwt/pull/9862 needs follow-up and another
>review.
> 
> If this is the last release that can run the compiler and dev mode on Java
> 8, we will want to update Jetty in the next release as well. That might
> suggest one more change, deprecating the use of "-server" in DevMode.
> Please see https://github.com/gwtproject/gwt/issues/9863 for more details.
> In the coming days I'll put together a patch for this.
> 
> After we've merged or deferred these PRs, the next step will be asking for
> testing volunteers and cutting an RC release. I'm hoping we can begin that
> process within two weeks - if you're interested in helping us test this
> release, please reply to this message or directly with the OS/JVM/Browsers
> you have at your disposal, and I'll make sure you are included. As usual,
> the testing process will probably take a week or so to get the desired
> coverage, and then we'll formally release GWT 2.11.0.
> 
> On Tuesday, May 23, 2023 at 3:11:51 PM UTC-5 Rocco De Angelis wrote:
> > Hi Colin,
> > 
> > if you need some help, I'm feeling to help.
> > Specially the jakarta stuff is important for us.
> > Do you find the time to have a look to the open PR?
> > 
> > BR
> > Rocco
> > 
> > Colin Alworth schrieb am Mittwoch, 17. Mai 2023 um 16:44:58 UTC+2:
> >> There have been a few suggestions of making a release in the near future,
> >> and it seemed like it might be a good idea to summarize pending
> >> development, ask for help to land these, and see if anything else needs
> >> to
> >> be addressed before shipping.
> >> 
> >>- There is a pending branch (not yet a PR for GWT itself) working on
> >>adding a new gwt-servlet-jakarta.jar and
> >>requestfactory-server-jakarta.jar
> >>as part of https://github.com/gwtproject/gwt/issues/9727. There is no
> >>plan at this time to update the DevMode server to Jakarta, though that
> >>will
> >>eventually be inevitable if we move to a newer version of Jetty. Work
> >>on
> >>this can be found at https://github.com/niloc132/gwt/pull/3.
> >>- There is a pending fix for eliminating a false positive from using
> >>some internals of protobuf to deobfuscate client side exceptions
> >>https://github.com/gwtproject/gwt/pull/9785. This is probably safe to
> >>land without more testing, but none of the reporters of this bug have
> >>verified the fix.
> >>- There's a pending fix for a bug in type unions, which can be caused
> >>by some ternary expressions and var type declarations
> >>https://github.com/gwtproject/gwt/pull/9799. A review found a few
> >>oversights in testing, and I'd appreciate another look.
> >>- There's a pending fix for a bug where debugging in firefox when
> >>assertions are enabled (for example in SDM). It turns out the bug can
> >>happen in other cases too in more subtle ways. A draft fix it at
> >>https://github.com/gwtproject/gwt/pull/9800.
> >>- GWT itself can now be built on Java 11, but not yet 17. There are a
> >>few changes pending that will permit this. Additionally, this will
> >>enable
> >>adding more Java 9-11 JRE emulation, see the list at
> >>https://github.com/gwtproject/gwt/issues/9547.
> >> 
> >> Finally, we have an open question about future Java 8 support. Beyond
> >> this release, we likely will no longer support running the compiler in
> >> Java
> >> 8, which will enable adding support for Java 12-17 language features. We
> >> can likely still build jars that will run on a Java 8 server, but just
> 

[gwt-contrib] Re: Preparing for GWT 2.11 release

2023-11-15 Thread Colin Alworth
Yes, I'll create a staging repository with the actual artifacts that we 
intend to release to Maven Central, and will also provide a .zip download 
for the SDK itself.

On Wednesday, November 15, 2023 at 8:16:40 AM UTC-6 Zbyněk Konečný wrote:

> Hi,
>
> I can do some testing on Windows with Java 11 and Chrome/Edge/Firefox. 
> Will the jars for testing be available in some Maven repo?
>
> Cheers,
> Zbynek
>
> On Wednesday, November 15, 2023 at 3:37:38 AM UTC+1 Colin Alworth wrote:
>
>> It has taken longer than we had hoped, but I think we're just about ready 
>> - GWT itself can build on Java 17 (and can run on Java 23), JRE emulation 
>> is nearly caught up to where we wanted with Java 11, and jakarta.servlet 
>> support is hopefully finished and partially tested in non-trivial apps.
>>
>> Here's my view of what might land before we cut a release:
>>
>>- The jakarta.servlet patch is now at 
>>https://github.com/gwtproject/gwt/pull/9845, and is effectively ready 
>>to land. To my knowledge, no jakarta project has tested the 
>>requestfactory-*.jars yet.
>>- As above, we need confirmation that 
>>https://github.com/gwtproject/gwt/pull/9785 solves the problem it was 
>>created for.
>>- As above https://github.com/gwtproject/gwt/pull/9799 (fixing some 
>>ternary expressions and other type unions) should get at least one more 
>>review, approval. This will be applicable for Java 17 language support.
>>- Two more JRE emulation patches: 
>>https://github.com/gwtproject/gwt/pull/9860 needs a review, and 
>>https://github.com/gwtproject/gwt/pull/9862 needs follow-up and 
>>another review.
>>
>> If this is the last release that can run the compiler and dev mode on 
>> Java 8, we will want to update Jetty in the next release as well. That 
>> might suggest one more change, deprecating the use of "-server" in DevMode. 
>> Please see https://github.com/gwtproject/gwt/issues/9863 for more 
>> details. In the coming days I'll put together a patch for this.
>>
>> After we've merged or deferred these PRs, the next step will be asking 
>> for testing volunteers and cutting an RC release. I'm hoping we can begin 
>> that process within two weeks - if you're interested in helping us test 
>> this release, please reply to this message or directly with the 
>> OS/JVM/Browsers you have at your disposal, and I'll make sure you are 
>> included. As usual, the testing process will probably take a week or so to 
>> get the desired coverage, and then we'll formally release GWT 2.11.0.
>>
>> On Tuesday, May 23, 2023 at 3:11:51 PM UTC-5 Rocco De Angelis wrote:
>>
>>> Hi Colin,
>>>
>>> if you need some help, I'm feeling to help. 
>>> Specially the jakarta stuff is important for us.
>>> Do you find the time to have a look to the open PR?
>>>
>>> BR
>>> Rocco
>>>
>>> Colin Alworth schrieb am Mittwoch, 17. Mai 2023 um 16:44:58 UTC+2:
>>>
 There have been a few suggestions of making a release in the near 
 future, and it seemed like it might be a good idea to summarize pending 
 development, ask for help to land these, and see if anything else needs to 
 be addressed before shipping.


- There is a pending branch (not yet a PR for GWT itself) working 
on adding a new gwt-servlet-jakarta.jar and 
requestfactory-server-jakarta.jar as part of 
https://github.com/gwtproject/gwt/issues/9727. There is no plan at 
this time to update the DevMode server to Jakarta, though that will 
eventually be inevitable if we move to a newer version of Jetty. Work 
 on 
this can be found at https://github.com/niloc132/gwt/pull/3.
- There is a pending fix for eliminating a false positive from 
using some internals of protobuf to deobfuscate client side exceptions 
https://github.com/gwtproject/gwt/pull/9785. This is probably safe 
to land without more testing, but none of the reporters of this bug 
 have 
verified the fix.
- There's a pending fix for a bug in type unions, which can be 
caused by some ternary expressions and var type declarations 
https://github.com/gwtproject/gwt/pull/9799. A review found a few 
oversights in testing, and I'd appreciate another look.
- There's a pending fix for a bug where debugging in firefox when 
assertions are enabled (for example in SDM). It turns out the bug can 
happen in other cases too in more subtle ways. A draft fix it at 
https://github.com/gwtproject/gwt/pull/9800.
- GWT itself can now be built on Java 11, but not yet 17. There are 
a few changes pending that will permit this. Additionally, this will 
 enable 
adding more Java 9-11 JRE emulation, see the list at 
https://github.com/gwtproject/gwt/issues/9547.


 Finally, we have an open question about future Java 8 support. Beyond 
 this release, we likely will no 

[gwt-contrib] Re: Preparing for GWT 2.11 release

2023-11-15 Thread 'Zbyněk Konečný' via GWT Contributors
Hi,

I can do some testing on Windows with Java 11 and Chrome/Edge/Firefox. Will 
the jars for testing be available in some Maven repo?

Cheers,
Zbynek

On Wednesday, November 15, 2023 at 3:37:38 AM UTC+1 Colin Alworth wrote:

> It has taken longer than we had hoped, but I think we're just about ready 
> - GWT itself can build on Java 17 (and can run on Java 23), JRE emulation 
> is nearly caught up to where we wanted with Java 11, and jakarta.servlet 
> support is hopefully finished and partially tested in non-trivial apps.
>
> Here's my view of what might land before we cut a release:
>
>- The jakarta.servlet patch is now at 
>https://github.com/gwtproject/gwt/pull/9845, and is effectively ready 
>to land. To my knowledge, no jakarta project has tested the 
>requestfactory-*.jars yet.
>- As above, we need confirmation that 
>https://github.com/gwtproject/gwt/pull/9785 solves the problem it was 
>created for.
>- As above https://github.com/gwtproject/gwt/pull/9799 (fixing some 
>ternary expressions and other type unions) should get at least one more 
>review, approval. This will be applicable for Java 17 language support.
>- Two more JRE emulation patches: 
>https://github.com/gwtproject/gwt/pull/9860 needs a review, and 
>https://github.com/gwtproject/gwt/pull/9862 needs follow-up and 
>another review.
>
> If this is the last release that can run the compiler and dev mode on Java 
> 8, we will want to update Jetty in the next release as well. That might 
> suggest one more change, deprecating the use of "-server" in DevMode. 
> Please see https://github.com/gwtproject/gwt/issues/9863 for more 
> details. In the coming days I'll put together a patch for this.
>
> After we've merged or deferred these PRs, the next step will be asking for 
> testing volunteers and cutting an RC release. I'm hoping we can begin that 
> process within two weeks - if you're interested in helping us test this 
> release, please reply to this message or directly with the OS/JVM/Browsers 
> you have at your disposal, and I'll make sure you are included. As usual, 
> the testing process will probably take a week or so to get the desired 
> coverage, and then we'll formally release GWT 2.11.0.
>
> On Tuesday, May 23, 2023 at 3:11:51 PM UTC-5 Rocco De Angelis wrote:
>
>> Hi Colin,
>>
>> if you need some help, I'm feeling to help. 
>> Specially the jakarta stuff is important for us.
>> Do you find the time to have a look to the open PR?
>>
>> BR
>> Rocco
>>
>> Colin Alworth schrieb am Mittwoch, 17. Mai 2023 um 16:44:58 UTC+2:
>>
>>> There have been a few suggestions of making a release in the near 
>>> future, and it seemed like it might be a good idea to summarize pending 
>>> development, ask for help to land these, and see if anything else needs to 
>>> be addressed before shipping.
>>>
>>>
>>>- There is a pending branch (not yet a PR for GWT itself) working on 
>>>adding a new gwt-servlet-jakarta.jar and 
>>> requestfactory-server-jakarta.jar 
>>>as part of https://github.com/gwtproject/gwt/issues/9727. There is 
>>>no plan at this time to update the DevMode server to Jakarta, though 
>>> that 
>>>will eventually be inevitable if we move to a newer version of Jetty. 
>>> Work 
>>>on this can be found at https://github.com/niloc132/gwt/pull/3.
>>>- There is a pending fix for eliminating a false positive from using 
>>>some internals of protobuf to deobfuscate client side exceptions 
>>>https://github.com/gwtproject/gwt/pull/9785. This is probably safe 
>>>to land without more testing, but none of the reporters of this bug have 
>>>verified the fix.
>>>- There's a pending fix for a bug in type unions, which can be 
>>>caused by some ternary expressions and var type declarations 
>>>https://github.com/gwtproject/gwt/pull/9799. A review found a few 
>>>oversights in testing, and I'd appreciate another look.
>>>- There's a pending fix for a bug where debugging in firefox when 
>>>assertions are enabled (for example in SDM). It turns out the bug can 
>>>happen in other cases too in more subtle ways. A draft fix it at 
>>>https://github.com/gwtproject/gwt/pull/9800.
>>>- GWT itself can now be built on Java 11, but not yet 17. There are 
>>>a few changes pending that will permit this. Additionally, this will 
>>> enable 
>>>adding more Java 9-11 JRE emulation, see the list at 
>>>https://github.com/gwtproject/gwt/issues/9547.
>>>
>>>
>>> Finally, we have an open question about future Java 8 support. Beyond 
>>> this release, we likely will no longer support running the compiler in Java 
>>> 8, which will enable adding support for Java 12-17 language features. We 
>>> can likely still build jars that will run on a Java 8 server, but just 
>>> can't compile newer JS. To that end, this 2.11 release branch may be 
>>> longer-lived than usual, depending on feedback and support to continue