mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 17:24:01 +00:00
ICU-13606 fix Java 6 build breakage
X-SVN-Rev: 41044
This commit is contained in:
parent
28958a1f14
commit
d55ba6554d
1 changed files with 6 additions and 3 deletions
|
@ -83,11 +83,14 @@ public class MeasureUnitThreadTest extends TestFmwk {
|
|||
t1.join();
|
||||
t2.join();
|
||||
if (t1.error != null) {
|
||||
throw new AssertionError("Failure in thread 1", t1.error);
|
||||
AssertionError error = new AssertionError("Failure in thread 1");
|
||||
error.initCause(t1.error);
|
||||
throw error;
|
||||
}
|
||||
if (t2.error != null) {
|
||||
throw new AssertionError("Failure in thread 2", t2.error);
|
||||
AssertionError error = new AssertionError("Failure in thread 2");
|
||||
error.initCause(t2.error);
|
||||
throw error;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue