added deprecation

This commit is contained in:
Robinson 2021-08-30 23:37:07 -06:00
parent 3d4146de1e
commit f6f6f3e5a0
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C

View File

@ -248,6 +248,7 @@ object ClassUtils {
*/
// on JDK 9
fun createCompositeInterface(interfaces: Array<Class<*>?>, classLoader: ClassLoader?): Class<*> {
@Suppress("DEPRECATION")
return Proxy.getProxyClass(classLoader, *interfaces)
}
}