Home
last modified time | relevance | path

Searched +defs:try +defs:pattern (Results 1 – 25 of 393) sorted by relevance

12345678910>>...16

/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/io/Serializable/serialFilter/
H A DMixedFiltersTest.java56 String pattern = System.getProperty("jdk.serialFilter", in setup() local
83 public void testRejectedInGlobal(Object toDeserialized, String pattern) throws Exception { in testRejectedInGlobal()
85 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
92 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
122 public void testAllowedInGlobal(Object toDeserialized, String pattern) throws Exception { in testAllowedInGlobal()
124 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
130 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
H A DCheckArrayTest.java71 public void normalOIS(String pattern, int arraySize, Object[] array) throws IOException { in normalOIS()
74 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in normalOIS() method
95 public void subclassedOIS(String pattern, int arraySize, Object[] array) throws IOException { in subclassedOIS()
97 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in subclassedOIS() method
H A DSerialFilterTest.java270 static void testPatterns(String pattern) { in testPatterns()
287 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in nonResettableFilter() method
332 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testNonSettableAfterReadObject() method
399 static void testInvalidLimits(String pattern) { in testInvalidLimits()
431 static void testInvalidPatterns(String pattern) { in testInvalidPatterns()
462 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in validate() method
485 try (ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeObjects() method
595 static Object genTestObject(String pattern, boolean allowed) { in genTestObject()
633 static Object genTestObjectWildcard(String pattern, boolean allowed) { in genTestObjectWildcard()
674 static Object genTestLimit(String pattern, boolean allowed) { in genTestLimit()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/io/Serializable/serialFilter/
H A DMixedFiltersTest.java56 String pattern = System.getProperty("jdk.serialFilter", in setup() local
83 public void testRejectedInGlobal(Object toDeserialized, String pattern) throws Exception { in testRejectedInGlobal()
85 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
92 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
122 public void testAllowedInGlobal(Object toDeserialized, String pattern) throws Exception { in testAllowedInGlobal()
124 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
130 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
H A DCheckArrayTest.java68 public void normalOIS(String pattern, int arraySize, Object[] array) throws IOException { in normalOIS()
71 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in normalOIS() method
92 public void subclassedOIS(String pattern, int arraySize, Object[] array) throws IOException { in subclassedOIS()
94 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in subclassedOIS() method
H A DSerialFilterTest.java270 static void testPatterns(String pattern) { in testPatterns()
287 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in nonResettableFilter() method
332 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testNonSettableAfterReadObject() method
399 static void testInvalidLimits(String pattern) { in testInvalidLimits()
431 static void testInvalidPatterns(String pattern) { in testInvalidPatterns()
462 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in validate() method
485 try (ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeObjects() method
595 static Object genTestObject(String pattern, boolean allowed) { in genTestObject()
633 static Object genTestObjectWildcard(String pattern, boolean allowed) { in genTestObjectWildcard()
674 static Object genTestLimit(String pattern, boolean allowed) { in genTestLimit()
[all …]
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/io/Serializable/serialFilter/
H A DMixedFiltersTest.java56 String pattern = System.getProperty("jdk.serialFilter", in setup() local
83 public void testRejectedInGlobal(Object toDeserialized, String pattern) throws Exception { in testRejectedInGlobal()
85 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
92 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
122 public void testAllowedInGlobal(Object toDeserialized, String pattern) throws Exception { in testAllowedInGlobal()
124 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
130 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
H A DCheckArrayTest.java71 public void normalOIS(String pattern, int arraySize, Object[] array) throws IOException { in normalOIS()
74 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in normalOIS() method
95 public void subclassedOIS(String pattern, int arraySize, Object[] array) throws IOException { in subclassedOIS()
97 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in subclassedOIS() method
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/jdk/java/io/Serializable/serialFilter/
H A DMixedFiltersTest.java56 String pattern = System.getProperty("jdk.serialFilter", in setup() local
83 public void testRejectedInGlobal(Object toDeserialized, String pattern) throws Exception { in testRejectedInGlobal()
85 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
92 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
122 public void testAllowedInGlobal(Object toDeserialized, String pattern) throws Exception { in testAllowedInGlobal()
124 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
130 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
H A DCheckArrayTest.java68 public void normalOIS(String pattern, int arraySize, Object[] array) throws IOException { in normalOIS()
71 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in normalOIS() method
92 public void subclassedOIS(String pattern, int arraySize, Object[] array) throws IOException { in subclassedOIS()
94 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in subclassedOIS() method
H A DGlobalFilterTest.java76 String pattern = patterns[i].trim(); in globalPatternElements() local
102 String pattern = in globalFilter() local
183 static void globalFilterElements(String pattern, boolean allowed,Object obj) { in globalFilterElements()
195 static void testGlobalPattern(String pattern, Object object, boolean allowed) { in testGlobalPattern()
199 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testGlobalPattern() method
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/io/Serializable/serialFilter/
H A DMixedFiltersTest.java56 String pattern = System.getProperty("jdk.serialFilter", in setup() local
83 public void testRejectedInGlobal(Object toDeserialized, String pattern) throws Exception { in testRejectedInGlobal()
85 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
92 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
122 public void testAllowedInGlobal(Object toDeserialized, String pattern) throws Exception { in testAllowedInGlobal()
124 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
130 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
H A DCheckArrayTest.java68 public void normalOIS(String pattern, int arraySize, Object[] array) throws IOException { in normalOIS()
71 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in normalOIS() method
92 public void subclassedOIS(String pattern, int arraySize, Object[] array) throws IOException { in subclassedOIS()
94 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in subclassedOIS() method
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/jdk/java/io/Serializable/serialFilter/
H A DSerialFilterTest.java56 * @run testng/othervm -Djdk.serialSetFilterAfterRead=true SerialFilterTest in setup()
85 * DataProvider for the individual patterns to test. in setup()
92 {"java.util.Hashtable"}, in setup()
123 return new Object[][] { in setup()
124 {"maxrefs", 1}, // 0 is tested as n-1 in setup()
130 }; in setup()
H A DCheckInputOrderTest.java69 new Object[] { Long.MAX_VALUE, "java.lang.Long;!java.**;java.lang.*", false }, in normalOIS()
71 }; in try()
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/jdk/java/io/Serializable/serialFilter/
H A DMixedFiltersTest.java56 String pattern = System.getProperty("jdk.serialFilter", in setup() local
83 public void testRejectedInGlobal(Object toDeserialized, String pattern) throws Exception { in testRejectedInGlobal()
85 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
92 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
122 public void testAllowedInGlobal(Object toDeserialized, String pattern) throws Exception { in testAllowedInGlobal()
124 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
130 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
H A DCheckArrayTest.java68 public void normalOIS(String pattern, int arraySize, Object[] array) throws IOException { in normalOIS()
71 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in normalOIS() method
92 public void subclassedOIS(String pattern, int arraySize, Object[] array) throws IOException { in subclassedOIS()
94 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in subclassedOIS() method
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/jdk/java/io/Serializable/serialFilter/
H A DMixedFiltersTest.java56 String pattern = System.getProperty("jdk.serialFilter", in setup() local
83 public void testRejectedInGlobal(Object toDeserialized, String pattern) throws Exception { in testRejectedInGlobal()
85 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
92 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
122 public void testAllowedInGlobal(Object toDeserialized, String pattern) throws Exception { in testAllowedInGlobal()
124 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
130 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
H A DCheckArrayTest.java68 public void normalOIS(String pattern, int arraySize, Object[] array) throws IOException { in normalOIS()
71 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in normalOIS() method
92 public void subclassedOIS(String pattern, int arraySize, Object[] array) throws IOException { in subclassedOIS()
94 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in subclassedOIS() method
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/test/java/io/Serializable/serialFilter/
H A DMixedFiltersTest.java57 String pattern = System.getProperty("jdk.serialFilter", in setup() local
84 public void testRejectedInGlobal(Object toDeserialized, String pattern) throws Exception { in testRejectedInGlobal()
86 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
93 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
123 public void testAllowedInGlobal(Object toDeserialized, String pattern) throws Exception { in testAllowedInGlobal()
125 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
131 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
H A DCheckArrayTest.java71 public void normalOIS(String pattern, int arraySize, Object[] array) throws IOException { in normalOIS()
74 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in normalOIS() method
95 public void subclassedOIS(String pattern, int arraySize, Object[] array) throws IOException { in subclassedOIS()
97 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in subclassedOIS() method
H A DSerialFilterTest.java259 static void testPatterns(String pattern) { in testPatterns()
276 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in nonResettableFilter() method
321 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testNonSettableAfterReadObject() method
405 static void testInvalidPatterns(String pattern) { in testInvalidPatterns()
436 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in validate() method
459 try (ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeObjects() method
529 static void testPatterns(String pattern, Object object, boolean allowed) { in testPatterns()
569 static Object genTestObject(String pattern, boolean allowed) { in genTestObject()
599 static Object genTestObjectWildcard(String pattern, boolean allowed) { in genTestObjectWildcard()
640 static Object genTestLimit(String pattern, boolean allowed) { in genTestLimit()
[all …]
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/test/java/io/Serializable/serialFilter/
H A DMixedFiltersTest.java57 String pattern = System.getProperty("jdk.serialFilter", in setup() local
84 public void testRejectedInGlobal(Object toDeserialized, String pattern) throws Exception { in testRejectedInGlobal()
86 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
93 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testRejectedInGlobal() method
123 public void testAllowedInGlobal(Object toDeserialized, String pattern) throws Exception { in testAllowedInGlobal()
125 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
131 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testAllowedInGlobal() method
H A DCheckArrayTest.java71 public void normalOIS(String pattern, int arraySize, Object[] array) throws IOException { in normalOIS()
74 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in normalOIS() method
95 public void subclassedOIS(String pattern, int arraySize, Object[] array) throws IOException { in subclassedOIS()
97 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in subclassedOIS() method
H A DSerialFilterTest.java259 static void testPatterns(String pattern) { in testPatterns()
276 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in nonResettableFilter() method
321 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in testNonSettableAfterReadObject() method
405 static void testInvalidPatterns(String pattern) { in testInvalidPatterns()
436 try (ByteArrayInputStream bais = new ByteArrayInputStream(bytes); in validate() method
459 try (ByteArrayOutputStream baos = new ByteArrayOutputStream(); in writeObjects() method
529 static void testPatterns(String pattern, Object object, boolean allowed) { in testPatterns()
569 static Object genTestObject(String pattern, boolean allowed) { in genTestObject()
599 static Object genTestObjectWildcard(String pattern, boolean allowed) { in genTestObjectWildcard()
640 static Object genTestLimit(String pattern, boolean allowed) { in genTestLimit()
[all …]

12345678910>>...16