diff --git a/executors/icu4j/74/executor-icu4j/src/main/java/org/unicode/conformance/Icu4jExecutor.java b/executors/icu4j/74/executor-icu4j/src/main/java/org/unicode/conformance/Icu4jExecutor.java index 3ed36d33..80122a89 100644 --- a/executors/icu4j/74/executor-icu4j/src/main/java/org/unicode/conformance/Icu4jExecutor.java +++ b/executors/icu4j/74/executor-icu4j/src/main/java/org/unicode/conformance/Icu4jExecutor.java @@ -1,5 +1,7 @@ package org.unicode.conformance; +import com.ibm.icu.util.LocaleData; +import com.ibm.icu.util.VersionInfo; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; @@ -25,10 +27,13 @@ public class Icu4jExecutor { public static final String PLATFORM = "ICU4J"; - public static final String PLATFORM_VERSION = "74.2"; - public static final String ICU_VERSION = "74"; - public static final String CLDR_VERSION = "44"; + private static final VersionInfo latestIcuVersion = VersionInfo.ICU_VERSION; + + public static final String PLATFORM_VERSION = latestIcuVersion.getMajor() + "." + latestIcuVersion.getMinor(); + + public static final String ICU_VERSION = String.valueOf(latestIcuVersion.getMajor()); + public static final String CLDR_VERSION = String.valueOf(LocaleData.getCLDRVersion().getMajor()); /** * Entry point for the executor. diff --git a/run_config.json b/run_config.json index 3f9201e4..c715ca6d 100644 --- a/run_config.json +++ b/run_config.json @@ -376,7 +376,7 @@ }, { "prereq": { - "name": "mvn-icu4j-74-shaded", + "name": "mvn-icu4j-75-shaded", "version": "75", "command": "mvn -q -P icu75 -f ../executors/icu4j/74/executor-icu4j/pom.xml package -DskipTests=true" },