Fix proxy hint Kotlin extensions
Closes gh-30025
This commit is contained in:
@@ -25,4 +25,4 @@ import kotlin.reflect.KClass
|
||||
* @since 6.0.5
|
||||
*/
|
||||
fun JdkProxyHint.Builder.proxiedInterfaces(vararg proxiedInterfaces: KClass<*>) =
|
||||
proxiedInterfaces(*proxiedInterfaces.map { it::class.java }.toTypedArray())
|
||||
proxiedInterfaces(*proxiedInterfaces.map { it.java }.toTypedArray())
|
||||
|
||||
@@ -25,4 +25,4 @@ import kotlin.reflect.KClass
|
||||
* @since 6.0.5
|
||||
*/
|
||||
fun ProxyHints.registerJdkProxy(vararg proxiedInterfaces: KClass<*>) =
|
||||
registerJdkProxy(*proxiedInterfaces.map { it::class.java }.toTypedArray())
|
||||
registerJdkProxy(*proxiedInterfaces.map { it.java }.toTypedArray())
|
||||
|
||||
Reference in New Issue
Block a user