ICU4J releaseJarCheck failure

Description

Build target release runs unit tests from test jar package with icu4j.jar. In ICU4J 65, a new LocaleDistance/LocakeMatcher unit test depends on classes under icu4j/tools directory. The regular test target check was updated to include the extra classes, but we obviously forgot releaseJarCheck case.

When you run release target - releaseVer, there are 2 unit test case failures reported as below.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 com/ibm/icu/dev/tool/locale/LocaleDistanceBuilder java.lang.NoClassDefFoundError: com/ibm/icu/dev/tool/locale/LocaleDistanceBuilder at com.ibm.icu.dev.test.util.LocaleDistanceTest.testLoadedDataSameAsBuiltFromScratch(LocaleDistanceTest.java:53) Caused by: java.lang.ClassNotFoundException: com.ibm.icu.dev.tool.locale.LocaleDistanceBuilder at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357) com/ibm/icu/dev/tool/locale/LikelySubtagsBuilder java.lang.NoClassDefFoundError: com/ibm/icu/dev/tool/locale/LikelySubtagsBuilder at com.ibm.icu.dev.test.util.LocaleMatcherTest.testLikelySubtagsLoadedDataSameAsBuiltFromScratch(LocaleMatcherTest.java:820) at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:421) at junitparams.JUnitParamsRunner.runChild(JUnitParamsRunner.java:386) Caused by: java.lang.ClassNotFoundException: com.ibm.icu.dev.tool.locale.LikelySubtagsBuilder at java.net.URLClassLoader.findClass(URLClassLoader.java:382) at java.lang.ClassLoader.loadClass(ClassLoader.java:424) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349) at java.lang.ClassLoader.loadClass(ClassLoader.java:357)

Status

Assignee

Yoshito Umaoka

Reporter

Yoshito Umaoka

Labels

None

Reviewer

None

Time Needed

None

Start date

None

Components

Fix versions

Priority

critical