Skip to content

Do not treat Mongolian vowel separator as a whitespace#2671

Open
zbynek wants to merge 1 commit intogoogle:masterfrom
zbynek:vowel-separator
Open

Do not treat Mongolian vowel separator as a whitespace#2671
zbynek wants to merge 1 commit intogoogle:masterfrom
zbynek:vowel-separator

Conversation

@zbynek
Copy link

@zbynek zbynek commented Feb 10, 2026

As of Java 11 isWhitespace for \u180e is false.

This aligns the Java emulation with GWT 2.12+
gwtproject/gwt#9973 (comment)

@tomball
Copy link
Collaborator

tomball commented Feb 10, 2026

The j2objc version of Character.java is a fork of Android's libcore version, not GWT's. Although there's nothing wrong with this change, it would be better if the whole isWhitespace() method were copied, to maintain j2objc compatibility with Android's JRE.

@zbynek
Copy link
Author

zbynek commented Feb 11, 2026

Thanks for the feedback. I submitted the same patch to libcore: https://android-review.googlesource.com/c/platform/libcore/+/3947340

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.

2 participants

Comments