[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:
PJ Fanning 2018-12-10 15:45:47 +00:00
parent 28085415f5
commit cce4189e59
1 changed files with 2 additions and 2 deletions

View File

@ -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;
} }