gwtproject / gwt

GWT Open Source Project
http://www.gwtproject.org
1.53k stars 377 forks source link

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

Closed niloc132 closed 1 month ago

niloc132 commented 1 month ago

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

niloc132 commented 1 month ago

Full build: https://github.com/niloc132/gwt/actions/runs/11405300789

niloc132 commented 1 month ago

Full build: https://github.com/niloc132/gwt/actions/runs/11419835293