Setting ASM to version 7 in sdkparcelables

This is needed when using Java 11 as target.

Test: m
Bug: 195387473
Change-Id: I18abbdfee4039f9a366070b730930396ff4c210e
This commit is contained in:
Sorin Basca 2022-01-12 21:11:52 +00:00
parent 6dc2fbcf27
commit e95eaf7f5a
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@ java_binary_host {
"src/**/*.kt",
],
static_libs: [
"asm-6.0",
"asm-7.0",
],
}

View File

@ -39,7 +39,7 @@ fun main(args: Array<String>) {
kotlin.system.exitProcess(2)
}
val ancestorCollector = AncestorCollector(Opcodes.ASM6, null)
val ancestorCollector = AncestorCollector(Opcodes.ASM7, null)
for (entry in zipFile.entries()) {
if (entry.name.endsWith(".class")) {