-
Notifications
You must be signed in to change notification settings - Fork 377
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
Java 11 JRE emulation #9831
Comments
gwt/user/super/com/google/gwt/emul/java/lang/String.java Lines 71 to 73 in e981e97
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Formatter.html#syntax In theory we could require that the format param will be a string literal and pre-compile the formats so that unused formatting code can be pruned. In practice, that sort of change likely wouldn't be accepted to j2cl, so we should consider carefully if we want to introduce that incompatibility. |
Also CharSequence.chars is already implemented:
|
Closing as fixed, all emulation mentioned here is fixed (CharSequence methods split into |
Methods to support:
String:
lines()
isBlank()
format()
(will not implement, this is missing deliberately from earlier versions of String)repeat()
stripTrailing()
stripLeading()
strip()
Predicate (done):
not()
OptionalDouble (done):
isEmpty()
OptionalDouble (done):
isEmpty()
OptionalLong (done):
isEmpty()
CharSequence was split into #9991 so this could be closed as complete.
The text was updated successfully, but these errors were encountered: