Skip to content

Commit 7e730fe

Browse files
committed
Fix regression in String.toUpperCase becoming locale-dependent
Introduced in 7db3a9b, in GWT 2.8.0. Bug: #9540 Bug-Link: #9540 Change-Id: I7e20b435c63a76934cb8194fd5cd86abfe9b528b
1 parent 2fccdd4 commit 7e730fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

user/super/com/google/gwt/emul/java/lang/String.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -718,7 +718,7 @@ public String toLowerCase(Locale locale) {
718718

719719
// See the notes in lowerCase pair.
720720
public String toUpperCase() {
721-
return asNativeString().toLocaleUpperCase();
721+
return asNativeString().toUpperCase();
722722
}
723723

724724
// See the notes in lowerCase pair.

0 commit comments

Comments
 (0)