Hack to try to see if we can get GH builds to pass on Java 17

This commit is contained in:
Gary Gregory 2023-08-14 17:42:05 -04:00
parent 23f363b329
commit c0a659c9a0
1 changed files with 1 additions and 1 deletions

View File

@ -122,7 +122,7 @@ public class FastDateParser_TimeZoneStrategyTest extends AbstractLangTest {
parser.parse(tzDisplay);
} catch (ParseException e) {
// How do I know I'm on GH?
if (SystemUtils.IS_JAVA_17 && Arrays.binarySearch(FAILS_ON_GH_JAVA_17, locale) > 0) {
if (SystemUtils.IS_JAVA_17 && Arrays.binarySearch(FAILS_ON_GH_JAVA_17, locale.toString()) > 0) {
Java17Failures.add(locale);
continue;
}