mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-14 01:11:02 +00:00
ICU-5134 workaround for IBM JDK 1.4.1 test execution problem
X-SVN-Rev: 20103
This commit is contained in:
parent
7295d0958a
commit
c8d139572c
1 changed files with 5 additions and 0 deletions
|
@ -1021,6 +1021,11 @@ public class TimeZoneRegression extends TestFmwk {
|
|||
}
|
||||
|
||||
//#ifndef FOUNDATION
|
||||
if (System.getProperty("java.vendor", "").startsWith("IBM") &&
|
||||
System.getProperty("java.version", "").equals("1.4.1")) {
|
||||
// IBM JDK 1.4.1 has a bug and fails to run this test case.
|
||||
return;
|
||||
}
|
||||
java.util.TimeZone jdkEastern = java.util.TimeZone.getTimeZone("America/New_York");
|
||||
// Compare offset and DST observation with JDK and ICU for 50 years since 1900
|
||||
testCal.add(Calendar.YEAR, 50);
|
||||
|
|
Loading…
Add table
Reference in a new issue