diff options
author | cushon <cushon@google.com> | 2016-10-04 16:43:17 -0700 |
---|---|---|
committer | cgruber <cgruber@google.com> | 2016-10-12 11:23:31 -0700 |
commit | 2c16b123835dcf1ad066dd6c37761b86e4fc2213 (patch) | |
tree | 8293cc03c1fdaf5efd6e26e8caef96073c41b2a4 /value/pom.xml | |
parent | 3e5636b1d5562802961b12cab75a67d855aee80d (diff) | |
download | auto-2c16b123835dcf1ad066dd6c37761b86e4fc2213.tar.gz |
Update ASM usages for Java 8:
1. Set the API level to `ASM5`. ASM requires that all visitors set the `ASM5`
API level when visiting Java 8 bytecode. Failing to do so will result in an
error when encountering any Java 8 bytecode features.
2. Change any `visitMethodInsn` methods to implement the newly added overload
[of that name][1]. The new overload is called by ASM after the API level change;
the old one is ignored.
[1]: http://asm.ow2.org/asm50/javadoc/user/org/objectweb/asm/MethodVisitor.html#visitMethodInsn-int-java.lang.String-java.lang.String-java.lang.String-boolean-
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=135170390
Diffstat (limited to 'value/pom.xml')
-rw-r--r-- | value/pom.xml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/value/pom.xml b/value/pom.xml index 895e7d69..9072dfb4 100644 --- a/value/pom.xml +++ b/value/pom.xml @@ -61,7 +61,7 @@ <dependency> <groupId>org.ow2.asm</groupId> <artifactId>asm</artifactId> - <version>4.1</version> + <version>5.0.4</version> </dependency> <dependency> <groupId>com.squareup</groupId> |