]> source.dussan.org Git - aspectj.git/commitdiff
made JDK 1.3 compatible
authorehilsdal <ehilsdal>
Wed, 4 Feb 2004 04:05:41 +0000 (04:05 +0000)
committerehilsdal <ehilsdal>
Wed, 4 Feb 2004 04:05:41 +0000 (04:05 +0000)
weaver/testsrc/LocaleTest.java

index 1dba3f79f17459b8406540963a16b597326de57e..3f4105569f7d112444839b4861418ba5e82307c9 100644 (file)
@@ -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());
                }
        }
 }