added deprecation
This commit is contained in:
parent
3d4146de1e
commit
f6f6f3e5a0
@ -248,6 +248,7 @@ object ClassUtils {
|
||||
*/
|
||||
// on JDK 9
|
||||
fun createCompositeInterface(interfaces: Array<Class<*>?>, classLoader: ClassLoader?): Class<*> {
|
||||
@Suppress("DEPRECATION")
|
||||
return Proxy.getProxyClass(classLoader, *interfaces)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user