diff options
-rw-r--r-- | weaver/testsrc/LocaleTest.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weaver/testsrc/LocaleTest.java b/weaver/testsrc/LocaleTest.java index 1dba3f79f..3f4105569 100644 --- a/weaver/testsrc/LocaleTest.java +++ b/weaver/testsrc/LocaleTest.java @@ -18,7 +18,7 @@ public class LocaleTest extends TestCase { public void testTurkishLocale() { Locale def = Locale.getDefault(); - Locale.setDefault(new Locale("tr")); + Locale.setDefault(new Locale("tr", "")); try { doBipush(); } finally { @@ -34,7 +34,7 @@ public class LocaleTest extends TestCase { (byte) 3 // data for bipush })); } catch (IOException e) { - throw new RuntimeException(e); + throw new RuntimeException(e.getMessage()); } } } |