Stable version (1.10.19) and HEAD don't build on Android
See original GitHub issueI’m trying to upgrade my company’s mockito version to 1.10.19 and ran into Android build breakage, caused by asm class file versioning issue.
Warning: org.mockito.asm.util.CheckSignatureAdapter:
can't find referenced class org.mockito.asm.signature.SignatureVisitor
I downloaded cglib-and-asm-1.0.jar and found that while there is org/mockito/asm/util/CheckSignatureAdapter.class in the jar, there isn’t org/mockito/asm/signature pacakge.
The cglib-and-asm-1.0-sources.jar does have the missing .java files.
This currently blocks the Mockito upgrade.
Issue Analytics
- State:
- Created 8 years ago
- Comments:18 (18 by maintainers)
Top Results From Across the Web
Battery draining soon in OnePlus 7 after update of Android 10
Title: Battery draining soon in OnePlus 7 after update of Android 10; Device: OnePlus7; Software Version: O2 Stable 191007; Topic: Suggestion; Photos: ...
Read more >Gradle Sync failed could not find constraint-layout:1.0.0-alpha2
The fix is to update the android gradle plugin in your build.gradle. ... My problem was, that the SDK Tools updated it to...
Read more >Bedrock Edition 1.19.10 - Minecraft Wiki - Fandom
1.19.10 is a minor update to Bedrock Edition released on July 12, 2022, which brought more parity with Java Edition and fixes bugs....
Read more >[ROM][UNOFFICIAL][9.0][nx551j] LineageOS 16.0 for Nubia ...
Clean code with kernel rebased on top of latest caf pie msm8953 tag. Download 2019-10-01. Update Lineage code (security patch) ...
Read more >Request: Do not remove clipboard permission and do not let ...
I would be very disappointed If Google's latest round of permission revocations resulted in my app being unusable on Android. This is not...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bric3 You might just be right about this. Java 8 adoption is pretty high and I assume that it could pay off for supporing easy integration with Java 8 types. Also, tests can run on a JVM v8 while continuing to compile artifacts to v7 or before. So upgrading Mockito does not necessarily entail a production upgrade.
@fluentfuture So do you suggest that this issue can be closed ?