From c0a659c9a094548328ea51026baf918e46c52d2f Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Mon, 14 Aug 2023 17:42:05 -0400 Subject: [PATCH] Hack to try to see if we can get GH builds to pass on Java 17 --- .../commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java b/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java index 64bb3f5f5..681c46502 100644 --- a/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java +++ b/src/test/java/org/apache/commons/lang3/time/FastDateParser_TimeZoneStrategyTest.java @@ -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; }