Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
Project: platform/frameworks/support
Branch: androidx-main
commit 3eb053061ebd600de2ce0d13994c7f227711b21e
Author: Daniel Santiago Rivera <danysantiago@google.com>
Date: Tue May 28 09:54:27 2024
Fix find database impl reflection when class has no package.
Handle the Android only (not reproducible in JVM) case when a class has no package and the getPackage() call on the Class returns null.
Bug: 342097292
Test: KClassUtilTest
Change-Id: Ie04a62cb42e9d3e9a1badb4b66030851df22b01f
A room/room-runtime/src/androidInstrumentedTest/kotlin/NoPackageDatabase.kt
A room/room-runtime/src/androidInstrumentedTest/kotlin/androidx/room/util/KClassUtilTest.kt
M room/room-runtime/src/jvmAndroidMain/kotlin/androidx/room/util/KClassUtil.jvmAndroid.kt
https://android-review.googlesource.com/3106237
Branch: androidx-main
commit 3eb053061ebd600de2ce0d13994c7f227711b21e
Author: Daniel Santiago Rivera <danysantiago@google.com>
Date: Tue May 28 09:54:27 2024
Fix find database impl reflection when class has no package.
Handle the Android only (not reproducible in JVM) case when a class has no package and the getPackage() call on the Class returns null.
Bug: 342097292
Test: KClassUtilTest
Change-Id: Ie04a62cb42e9d3e9a1badb4b66030851df22b01f
A room/room-runtime/src/androidInstrumentedTest/kotlin/NoPackageDatabase.kt
A room/room-runtime/src/androidInstrumentedTest/kotlin/androidx/room/util/KClassUtilTest.kt
M room/room-runtime/src/jvmAndroidMain/kotlin/androidx/room/util/KClassUtil.jvmAndroid.kt
da...@google.com <da...@google.com>
na...@google.com <na...@google.com> #3
The following release(s) address this bug.It is possible this bug has only been partially addressed:
androidx.room:room-gradle-plugin:2.6.0-alpha03
Description
See comment:https://android-review.git.corp.google.com/c/platform/frameworks/support/+/2322095/comment/502aff66_2aa8592d/