In JDK codes, there are many string comparisons that looks like:
aString.toUpperCase().startsWith("anotherString")
aString.toLowerCase().equals("anotherstring")
aString.toLowerCase().contains("anotherstring")
etc.
The String.toLowerCase/toUpperCase() equals to String.toLowerCase/toUpperCase(Locale.getDefault()). According to CR 6208680 and the spec of String.toLowerCase/toUpperCase(), for some special region, for example Turkish and Azeri, the conversion maybe locale-sensitive. For example, for Turkish, the "i" is not mapped to "I" with String.toUpperCase(). When the default locale of JVM is set to the special region, the above string comparisons will not be able to work as expected.
Please check the JCE source code.