mirror of https://github.com/apache/poi.git
[bug-62996]try suggested test change
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1848591 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
28085415f5
commit
cce4189e59
|
@ -91,9 +91,9 @@ public class TestExcelStyleDateFormatter {
|
||||||
*/
|
*/
|
||||||
private int localeIndex(Locale locale) {
|
private int localeIndex(Locale locale) {
|
||||||
final String provider = System.getProperty("java.locale.providers");
|
final String provider = System.getProperty("java.locale.providers");
|
||||||
return jreVersion < 12 ||
|
return jreVersion < 9 ||
|
||||||
!locale.equals (Locale.CHINESE) ||
|
!locale.equals (Locale.CHINESE) ||
|
||||||
(provider != null && provider.startsWith("JRE"))
|
(provider != null && (provider.startsWith("JRE") || provider.startsWith("COMPAT")))
|
||||||
? 0 : 1;
|
? 0 : 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue