equal
deleted
inserted
replaced
37 |
37 |
38 public class InternationalBAT { |
38 public class InternationalBAT { |
39 |
39 |
40 public static void main(String[] args) { |
40 public static void main(String[] args) { |
41 boolean pass = true; |
41 boolean pass = true; |
42 if (!testRequiredLocales()) { |
42 |
43 pass = false; |
43 TimeZone tz = TimeZone.getDefault(); |
44 } |
44 try { |
45 if (!testRequiredEncodings()) { |
45 pass &= testRequiredLocales(); |
46 pass = false; |
46 pass &= testRequiredEncodings(); |
|
47 } finally { |
|
48 TimeZone.setDefault(tz); |
47 } |
49 } |
48 |
50 |
49 if (!pass) { |
51 if (!pass) { |
50 System.out.println("\nSome tests failed.\n" |
52 System.out.println("\nSome tests failed.\n" |
51 + "If you installed the US-only J2RE for Windows, " |
53 + "If you installed the US-only J2RE for Windows, " |