]> granicus.if.org Git - icu/commitdiff
ICU-10268 Exclude PluralRules$FixedDecimal from the serialization coverage test for...
authorYoshito Umaoka <y.umaoka@gmail.com>
Thu, 29 Aug 2013 17:30:19 +0000 (17:30 +0000)
committerYoshito Umaoka <y.umaoka@gmail.com>
Thu, 29 Aug 2013 17:30:19 +0000 (17:30 +0000)
X-SVN-Rev: 34123

icu4j/main/tests/core/src/com/ibm/icu/dev/test/serializable/CoverageTest.java

index 4ee6c1d4174ef960bb839e8c8c82a66f4c80987e..c5d999f6c6c10d94da3620648ed3bb3ab322f2f2 100644 (file)
@@ -159,6 +159,10 @@ public class CoverageTest extends CompatibilityTest implements URLHandler.URLVis
                                 out.close();
                                 byteOut.close();
                             } catch (IOException e) {
+                                if (str.equals("/text/PluralRules$FixedDecimal.class")
+                                        && logKnownIssue("10268", "Serializable interface is not implemented in PluralRules$FixedDecimal")) {
+                                    return;
+                                }
                                 warnln("Error writing test objects: " + e.toString());
                                 return;
                             }