This is the mail archive of the mailing list for the Mauve project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Patch: reports error for unsupportedextended charsets

There is a copy/paste bug in the java/io/InputStreamReader/
testcase causing an error to be reported for each extended charset not
present. This patch changes this behaviour such that only supported
extended charsets are check for correctness of their name.

please apply,


Index: gnu/testlet/java/io/InputStreamReader/
RCS file:
retrieving revision 1.1
diff -u -F^f -r1.1
--- gnu/testlet/java/io/InputStreamReader/      17 Jun 2005
01:49:48 -0000      1.1
+++ gnu/testlet/java/io/InputStreamReader/      7 Sep 2005
14:06:06 -0000
@@ -165,8 +165,8 @@
                        } catch (UnsupportedCharsetException uce) {
                                supported = false;
-                       harness.check(name, extIoNames[i]);
-                       harness.check(supported, true);
+                       if ( supported )
+                               harness.check(name, extIoNames[i]);

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]