Fixed
Status Update
Comments
sp...@google.com <sp...@google.com>
ap...@google.com <ap...@google.com> #2
This is occurring due to the usage of the BundledSQLiteDriver
that loads a native file (JNI).
A small workaround you can try is to create a wrapper driver that initializes the actual one later when a connection is being opened in a background thread, delaying the initialization of the JNI library:
class BundledSQLiteDriverWrapper : SQLiteDriver {
private val actual by lazy {
BundledSQLiteDriver()
}
override fun open(fileName: String): SQLiteConnection {
return actual.open(fileName)
}
}
pr...@google.com <pr...@google.com> #3
hey , Do I really have to do that ? . It is not hurting my application at all . I was just taking some clarity on to why it is occurring which you provided.
Just dont want to run into any problems in the future since we just freshly started working with Room KMP .
Please do let me know if I should attempt a solution like you have provided or if its fine the way it is .
Description
As part of upgrade to mockito 4.6.1 these got suppressed, but need to be replaced.