diff --git a/zenoh-kotlin/src/jvmMain/kotlin/io/zenoh/Zenoh.kt b/zenoh-kotlin/src/jvmMain/kotlin/io/zenoh/Zenoh.kt index 5ed58f09..d6b7dd9b 100644 --- a/zenoh-kotlin/src/jvmMain/kotlin/io/zenoh/Zenoh.kt +++ b/zenoh-kotlin/src/jvmMain/kotlin/io/zenoh/Zenoh.kt @@ -115,7 +115,7 @@ internal actual class Zenoh private actual constructor() { @Suppress("UnsafeDynamicallyLoadedCode") private fun loadZenohJNI(inputStream: InputStream) { - val tempLib = File.createTempFile("tempLib", "") + val tempLib = File.createTempFile("tempLib", ".tmp") tempLib.deleteOnExit() FileOutputStream(tempLib).use { output ->