forked from square/dagger
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Signature attribute in ClassFile when an @androidentrypoint ha…
…s parameterized types. When an Android entry point has a superclass that uses parameterized types then the Class file will contain a Signature attribute that also has to be updated since the super_class is changed via Hilt's transform. The attribute is not checked by the JVM during linking, which is why it had not caused any issues before, but it does affected certain reflective APIs. See: https://docs.oracle.com/javase/specs/jvms/se8/html/jvms-4.html#jvms-4.7.9 Fixes: #3094 RELNOTES=Fix an issue where Hilt transform was not correctly updating the Signature attribute of an @androidentrypoint whose superclass contained a type variable. PiperOrigin-RevId: 414441547
- Loading branch information
1 parent
79e1c74
commit 73809a0
Showing
2 changed files
with
56 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters