Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Epic: Add Java 17 language support #9869

Open
6 of 9 tasks
niloc132 opened this issue Dec 6, 2023 · 3 comments
Open
6 of 9 tasks

Epic: Add Java 17 language support #9869

niloc132 opened this issue Dec 6, 2023 · 3 comments
Milestone

Comments

@niloc132
Copy link
Contributor

niloc132 commented Dec 6, 2023

This will be one of the leading features for GWT 2.12 - we've experimentally built out more than half of the new features already. The limiting factor is that in order to support a newer JDT, we will need to raising support for running Compiler/DevMode/CodeServer/JUnitShell to Java 11.

Subtasks:

JRE emulation changes, if any, should be filed in a different task. While reviewing JEPs, I only noticed https://openjdk.org/jeps/356, which may not apply anyway.

@niloc132 niloc132 added this to the 2.12 milestone Dec 6, 2023
@jnehlmeier
Copy link
Member

Shouldn't we try to aim 21 directly? Eclipse 2023-12 seems to support it so I guess some JDT should exist?

@niloc132
Copy link
Contributor Author

niloc132 commented Dec 7, 2023

@jnehlmeier
For the JDT, if already stable, with support for all features, and still supports running on Java 11 I'd agree. Otherwise, I'd personally vote for incrementally building these features and using this issue as a milestone for Java 17, with a follow up milestone (likely for a later release?) for Java 21.

Besides the reasons above, we don't have a lot of PR reviewers anyway, I wouldn't want to say that we can't ship GWT 2.12 until all of 17 and 21 are finished.

@niloc132
Copy link
Contributor Author

Looks like there are just two non-preview language JEPs in 18/19/20/21: https://openjdk.org/jeps/440 and https://openjdk.org/jeps/441. I haven't checked an updated JDT yet, but at least 441 looks like it will need codegen changes.

vegegoku added a commit to vegegoku/gwt that referenced this issue Dec 31, 2023
Update build scripts to point to the latest JDT [3.36.0.v20231115-1055] and the latest asm 9.6

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Dec 31, 2023
Update build scripts to point to the latest JDT [3.36.0.v20231115-1055] and the latest asm 9.6

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 1, 2024
Update build scripts to point to the latest JDT [3.36.0.v20231115-1055] and the latest asm 9.6

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 2, 2024
Update build scripts to point to the latest compatible JDT [3.32.0.v20221108-1853]/[4.26] and the latest asm 9.6

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 3, 2024
Update build scripts to point to the latest compatible JDT [3.32.0.v20221108-1853]/[4.26] and the latest asm 9.6

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 3, 2024
Update build scripts to point to the latest compatible JDT [3.32.0.v20221108-1853]/[4.26] and the latest asm 9.6

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 4, 2024
Update build scripts to point to the latest compatible JDT [3.32.0.v20221108-1853]/[4.26] and the latest asm 9.6

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 15, 2024
Update build scripts to point to the latest compatible JDT [3.32.0.v20221108-1853]/[4.26] and the latest asm 9.6

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 15, 2024
Point CI to the forked tools repository that has java 17 support changes.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 15, 2024
Point CI to the forked tools repository that has java 17 support changes.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 17, 2024
Write tests to confirm the code compiles to javascript too, add a test to guard for using records until support is added.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 17, 2024
Write tests to confirm the code compiles to javascript too, add a test to guard for using records until support is added.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 17, 2024
Write tests to confirm the code compiles to javascript too, add a test to guard for using records until support is added.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 17, 2024
Write tests to confirm the code compiles to javascript too, add a test to guard for using records until support is added.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 18, 2024
Fix request factory tests fails with errors under java 21 due to added apis to the List class `getLast`, `getFirst`, `isEmpty` which are causing ProxyAutoBean treats the list as a traversable object.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 21, 2024
Fix request factory tests fails with errors under java 21 due to added apis to the List class `getLast`, `getFirst`, `isEmpty` which are causing ProxyAutoBean treats the list as a traversable object.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 21, 2024
Update build scripts to point to the latest compatible JDT [3.32.0.v20221108-1853]/[4.26] and the latest asm 9.6

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 21, 2024
Point CI to the forked tools repository that has java 17 support changes.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 21, 2024
Write tests to confirm the code compiles to javascript too, add a test to guard for using records until support is added.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 21, 2024
Write tests to confirm the code compiles to javascript too, add a test to guard for using records until support is added.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 25, 2024
Update build scripts to point to the latest compatible JDT [3.32.0.v20221108-1853]/[4.26] and the latest asm 9.6

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 25, 2024
Point CI to the forked tools repository that has java 17 support changes.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 31, 2024
Point CI to the forked tools repository that has java 17 support changes.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 31, 2024
Write tests to confirm the code compiles to javascript too, add a test to guard for using records until support is added.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 31, 2024
Update build scripts to point to the latest compatible JDT [3.32.0.v20221108-1853]/[4.26] and the latest asm 9.6

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 31, 2024
Point CI to the forked tools repository that has java 17 support changes.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 31, 2024
Write tests to confirm the code compiles to javascript too, add a test to guard for using records until support is added.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 31, 2024
Update build scripts to point to the latest compatible JDT [3.32.0.v20221108-1853]/[4.26] and the latest asm 9.6

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Jan 31, 2024
Point CI to the forked tools repository that has java 17 support changes.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Feb 4, 2024
Update build scripts to point to the latest compatible JDT [3.32.0.v20221108-1853]/[4.26] and the latest asm 9.6

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Feb 4, 2024
Point CI to the forked tools repository that has java 17 support changes.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Feb 5, 2024
Update build scripts to point to the latest compatible JDT [3.32.0.v20221108-1853]/[4.26] and the latest asm 9.6

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Feb 5, 2024
Point CI to the forked tools repository that has java 17 support changes.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Feb 6, 2024
Point CI to the forked tools repository that has java 17 support changes.

fix gwtproject#9871
related to gwtproject#9869
vegegoku added a commit to vegegoku/gwt that referenced this issue Feb 6, 2024
Write tests to confirm the code compiles to javascript too, add a test to guard for using records until support is added.

fix gwtproject#9871
related to gwtproject#9869
niloc132 pushed a commit that referenced this issue Jun 4, 2024
Add compiler implementation, tests for Java 16 pattern matching
instanceof.

JEP https://openjdk.org/jeps/394
Fixes #9893
related to #9869
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants