From 481165a816d3209bed1b07b996a3b8f043140fd4 Mon Sep 17 00:00:00 2001 From: ehilsdal Date: Wed, 4 Feb 2004 04:05:41 +0000 Subject: [PATCH] made JDK 1.3 compatible --- weaver/testsrc/LocaleTest.java | 4 ++-- 1 file 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()); } } } -- 2.39.5