Fixed
Status Update
Comments
so...@google.com <so...@google.com>
ga...@google.com <ga...@google.com>
ga...@google.com <ga...@google.com> #2
Thank you for the report and the supplied dump with the reproduction. I can confirm that the NPE is also present on HEAD, and I will look into it.
Quite a few of the class files in the dump has malformed inner-class attribute, where R8 reports e.g.:
Info in /tmp/tmpo67ucguh/program.jar:ofifmwrrhhmodsc/ψξψξψξξ.class:
Malformed inner-class attribute:
outerTypeInternal: ofifmwrrhhmodsc/ψξψξψξξ
innerTypeInternal: ofifmwrrhhmodsc/ψξψξψξξ$ψξξψξξξ
innerName: ψξψξψξξ$ψξξψξξξ
These are ignored, so they should not be the reason for the NPE, but something to also look into.
Description
DESCRIBE THE ISSUE IN DETAIL:
In Gradle 7.1, org.gradle.util.GUtil has been soft deprecated (
@Deprecated
annotation).For Gradle 7.6 we wanted to add deprecation nagging to it. Our smoke tests show that the Android Gradle Plugin still uses the GUtil.toWords(string) function in >= 7.4. We will postpone adding the deprecation nagging because users currently cannot resolve it.
Could you please look into removing that usage from the Android Gradle Plugin?
Studio Build: Version of Gradle Plugin: 7.4 Version of Gradle: Version of Java: OS: