From f17914b131dac28ccea24ea597f2ea7889eba3ea Mon Sep 17 00:00:00 2001 From: Aleksei Efimov Date: Wed, 1 Apr 2015 16:01:41 +0300 Subject: [PATCH] 8076290: JCK test api/xsl/conf/string/string17 starts failing after JDK-8074297 Reviewed-by: joehw --- .../xml/jaxp/transform/8062923/XslSubstringTest.java | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/jdk/test/javax/xml/jaxp/transform/8062923/XslSubstringTest.java b/jdk/test/javax/xml/jaxp/transform/8062923/XslSubstringTest.java index 04c80ad0b87..cb3594bf9dd 100644 --- a/jdk/test/javax/xml/jaxp/transform/8062923/XslSubstringTest.java +++ b/jdk/test/javax/xml/jaxp/transform/8062923/XslSubstringTest.java @@ -23,7 +23,7 @@ /** * @test - * @bug 8062923 8062924 8074297 + * @bug 8062923 8062924 8074297 8076290 * @run testng XslSubstringTest * @summary Test xsl substring function with negative, Inf and * NaN length and few other use cases. Also test proper @@ -59,12 +59,15 @@ public class XslSubstringTest { { "||", "|sdf|"}, { "||", "||" }, { "||", "|sdf|" }, + // 8076290 bug test case + { "||", "|12|"}, }; } @DataProvider(name = "SupplementaryCharactersTestData") - private Object[][] bug8074297() { + private Object[][] dataSupplementaryCharacters() { return new Object[][] { + // 8074297 bug test cases { "||", "|BC|"}, { "||", "|B|" }, { "||", "|AB|"}, @@ -74,6 +77,8 @@ public class XslSubstringTest { { "||", "|A|"}, { "||", "|𠀋ABC|"}, { "||", "|𠀋ABC|"}, + // 8076290 bug test case + { "||", "|𠀋|"}, }; }