@@ -58,8 +58,15 @@ public void testXalanTypes1599() throws Exception
58
58
59
59
public void testJDKTypes1737 () throws Exception
60
60
{
61
- _testTypes1737 (java .util .logging .FileHandler .class );
62
- _testTypes1737 (java .rmi .server .UnicastRemoteObject .class );
61
+ _testIllegalType (java .util .logging .FileHandler .class );
62
+ _testIllegalType (java .rmi .server .UnicastRemoteObject .class );
63
+ }
64
+
65
+ // // // Tests for [databind#1855]
66
+ public void testJDKTypes1855 () throws Exception
67
+ {
68
+ // apparently included by JDK?
69
+ _testIllegalType ("com.sun.org.apache.bcel.internal.util.ClassLoader" );
63
70
}
64
71
65
72
// 17-Aug-2017, tatu: Ideally would test handling of 3rd party types, too,
@@ -69,8 +76,8 @@ public void testJDKTypes1737() throws Exception
69
76
/*
70
77
public void testSpringTypes1737() throws Exception
71
78
{
72
- _testTypes1737 ("org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor");
73
- _testTypes1737 ("org.springframework.beans.factory.config.PropertyPathFactoryBean");
79
+ _testIllegalType ("org.springframework.aop.support.AbstractBeanFactoryPointcutAdvisor");
80
+ _testIllegalType ("org.springframework.beans.factory.config.PropertyPathFactoryBean");
74
81
}
75
82
76
83
public void testC3P0Types1737() throws Exception
@@ -80,11 +87,11 @@ public void testC3P0Types1737() throws Exception
80
87
}
81
88
*/
82
89
83
- private void _testTypes1737 (Class <?> nasty ) throws Exception {
84
- _testTypes1737 (nasty .getName ());
90
+ private void _testIllegalType (Class <?> nasty ) throws Exception {
91
+ _testIllegalType (nasty .getName ());
85
92
}
86
93
87
- private void _testTypes1737 (String clsName ) throws Exception
94
+ private void _testIllegalType (String clsName ) throws Exception
88
95
{
89
96
// While usually exploited via default typing let's not require
90
97
// it here; mechanism still the same
0 commit comments