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
+ { "||", "|𠀋|"},
};
}