gwtproject / gwt

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

Deprecate `com.google.gwt.dev.util.Util` for removal #10030

Open niloc132 opened 3 weeks ago

niloc132 commented 3 weeks ago

This has a TODO indicating that at least stream functions should be replaced with guava. Other IO functions should also move to Guava or java.nio, and xml functions have no need to exist at all. This reduces the class to just a few calls, and can be moved to somewhere more appropriate in the codebase, and the class deleted.

There are other TODOs in calls to methods in this class that can be cleaned up by this work as well.

Replacing usage of this class will help with a few classes of issues

Fully completing this work suggests raising the java release level to 11.

See also https://github.com/gwtproject/gwt/issues/10011.