@@ -58,8 +58,15 @@ public void testXalanTypes1599() throws Exception
5858
5959 public void testJDKTypes1737 () throws Exception
6060 {
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" );
6370 }
6471
6572 // 17-Aug-2017, tatu: Ideally would test handling of 3rd party types, too,
@@ -69,8 +76,8 @@ public void testJDKTypes1737() throws Exception
6976 /*
7077 public void testSpringTypes1737() throws Exception
7178 {
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");
7481 }
7582
7683 public void testC3P0Types1737() throws Exception
@@ -80,11 +87,11 @@ public void testC3P0Types1737() throws Exception
8087 }
8188 */
8289
83- private void _testTypes1737 (Class <?> nasty ) throws Exception {
84- _testTypes1737 (nasty .getName ());
90+ private void _testIllegalType (Class <?> nasty ) throws Exception {
91+ _testIllegalType (nasty .getName ());
8592 }
8693
87- private void _testTypes1737 (String clsName ) throws Exception
94+ private void _testIllegalType (String clsName ) throws Exception
8895 {
8996 // While usually exploited via default typing let's not require
9097 // it here; mechanism still the same
0 commit comments