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

Avoid "immutable" apis for JNodes, preventing optimizer errors #10010

Merged
merged 5 commits into from
Oct 20, 2024

Conversation

niloc132
Copy link
Member

The immutable APIs for JNodes apparently were never immutable to begin with, and have been watered down since then so that it isn't safe to actually treat them as being immutable. This confusion prevented multiple case expressions from being optimized correctly.

Fixes #10005

The immutable APIs for JNodes apparently were never immutable to begin
with, and have been watered down since then so that it isn't safe to
actually treat them as being immutable. This confusion prevented
multiple case expressions from being optimized correctly.

Fixes gwtproject#10005
@niloc132 niloc132 added this to the 2.12 milestone Oct 16, 2024
@niloc132
Copy link
Member Author

@niloc132
Copy link
Member Author

@niloc132 niloc132 requested a review from jnehlmeier October 20, 2024 15:05
@niloc132 niloc132 merged commit b47d247 into gwtproject:main Oct 20, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

GWT cannot optimize switched expressions
3 participants