Status Update
Comments
cu...@gmail.com <cu...@gmail.com> #2
No error occurs when compile, but when run the app, the crash will happen
sg...@google.com <sg...@google.com>
ap...@google.com <ap...@google.com> #3
Project: r8
Branch: main
Author: Christoffer Adamsen <
Link:
Revert "Optimize empty Object[] -> null in reflection APIs"
Expand for full commit details
Revert "Optimize empty Object[] -> null in reflection APIs"
This reverts commit b2baa96841919a9fd14102c652f2b881fb77aa15.
Reason for revert: Causes verification errors, b/395140848
Bug: b/395140848
Change-Id: I6a3311a56443f911d0179a7a40772201fb3e687a
Files:
- D
src/main/java/com/android/tools/r8/ir/optimize/library/ClassOptimizer.java
- D
src/main/java/com/android/tools/r8/ir/optimize/library/ConstructorOptimizer.java
- D
src/main/java/com/android/tools/r8/ir/optimize/library/EmptyVarargsUtil.java
- M
src/main/java/com/android/tools/r8/ir/optimize/library/LibraryMemberOptimizer.java
- D
src/main/java/com/android/tools/r8/ir/optimize/library/MethodOptimizer.java
- M
src/test/java/com/android/tools/r8/ir/optimize/library/EmptyVarargsTest.java
Hash: 29f1b9c5d00148c170a67c8b1fa566a1a701bee6
Date: Tue Feb 11 12:02:13 2025
cu...@gmail.com <cu...@gmail.com> #4
Is there any specified r8 version to use for verifying this bug?
ch...@google.com <ch...@google.com> #5
Thanks for sharing the reproduction offline. As you have maybe seen we have identified and reverted the culprit. This should be cherry-picked to the R8 8.7, 8.8, and 8.9 release branches later today.
If you are using R8 8.7, then you should update to R8 8.7.33.
an...@google.com <an...@google.com> #6
Thank you for your patience while our engineering team worked to resolve this issue. A fix for this issue is now available in:
- Android Studio Meerkat | 2024.3.1 RC 2
- Android Gradle Plugin 8.9.0-rc02
We encourage you to try the latest update.
If you notice further issues or have questions, please file a new bug report.
Thank you for taking the time to submit feedback — we really appreciate it!
cu...@gmail.com <cu...@gmail.com> #7
we test R8 8.7.33(R8Version: 8.7.33 (build 33ee25f5b92c38712b4dfc47955285bc4396db5e from go/r8bot (luci-r8-custom-ci-archive-0-bok9))), crash from this method fixed, but there are other similar java.lang.VerifyError [0x430] copy1 v2<-v264 type=Undefined cat=3 in that same class, but from different method.
Description
Hello,
The issue continues to happen for us with AGP 8.7.3, R8 8.7.18
and i have shared dump file tochristofferqa@google.com