Using ComposeDesktopExtension and creating release of an app. On Tor startup am getting an error which points to kmp-process Process.Current.pid() function.
NoClassDefFoundError java/lang/management/ManagementFactory
Things work once java.management module is added, as the JvmApplicationDistributions extension container has includeAllModules set to false by default.
nativeDistributions {
// ...
modules("java.management")
}