Skip to content

Commit

Permalink
[FLINK-13467][build] Bump ASM to 7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
zentol committed Aug 31, 2019
1 parent 3198c92 commit 68e423d
Show file tree
Hide file tree
Showing 9 changed files with 21 additions and 20 deletions.
9 changes: 5 additions & 4 deletions NOTICE-binary
Original file line number Diff line number Diff line change
Expand Up @@ -3284,12 +3284,13 @@ Copyright 2014-2019 The Apache Software Foundation
Apache Flink-shaded
Copyright 2006-2019 The Apache Software Foundation

flink-shaded-asm6
flink-shaded-asm7
Copyright 2014-2018 The Apache Software Foundation

- org.ow2.asm:asm:6.2.1
- org.ow2.asm:asm-analysis:6.2.1
- org.ow2.asm:asm-tree:6.2.1
- org.ow2.asm:asm:7.1
- org.ow2.asm:asm-analysis:7.1
- org.ow2.asm:asm-commons:7.1
- org.ow2.asm:asm-tree:7.1

Apache Commons Lang
Copyright 2001-2014 The Apache Software Foundation
Expand Down
2 changes: 1 addition & 1 deletion flink-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ under the License.

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-asm-6</artifactId>
<artifactId>flink-shaded-asm-7</artifactId>
</dependency>

<!-- standard utilities -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
import java.util.Collections;
import java.util.List;

import static org.apache.flink.shaded.asm6.org.objectweb.asm.Type.getConstructorDescriptor;
import static org.apache.flink.shaded.asm6.org.objectweb.asm.Type.getMethodDescriptor;
import static org.apache.flink.shaded.asm7.org.objectweb.asm.Type.getConstructorDescriptor;
import static org.apache.flink.shaded.asm7.org.objectweb.asm.Type.getMethodDescriptor;

@Internal
public class TypeExtractionUtils {
Expand Down
2 changes: 1 addition & 1 deletion flink-java/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ under the License.

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-asm-6</artifactId>
<artifactId>flink-shaded-asm-7</artifactId>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
import org.apache.flink.api.common.InvalidProgramException;
import org.apache.flink.util.InstantiationUtil;

import org.apache.flink.shaded.asm6.org.objectweb.asm.ClassReader;
import org.apache.flink.shaded.asm6.org.objectweb.asm.ClassVisitor;
import org.apache.flink.shaded.asm6.org.objectweb.asm.MethodVisitor;
import org.apache.flink.shaded.asm6.org.objectweb.asm.Opcodes;
import org.apache.flink.shaded.asm7.org.objectweb.asm.ClassReader;
import org.apache.flink.shaded.asm7.org.objectweb.asm.ClassVisitor;
import org.apache.flink.shaded.asm7.org.objectweb.asm.MethodVisitor;
import org.apache.flink.shaded.asm7.org.objectweb.asm.Opcodes;

import org.apache.commons.lang3.ClassUtils;
import org.slf4j.Logger;
Expand Down Expand Up @@ -248,7 +248,7 @@ class This0AccessFinder extends ClassVisitor {
private boolean isThis0Accessed;

public This0AccessFinder(String this0Name) {
super(Opcodes.ASM6);
super(Opcodes.ASM7);
this.this0Name = this0Name;
}

Expand All @@ -258,7 +258,7 @@ public boolean isThis0Accessed() {

@Override
public MethodVisitor visitMethod(int access, String name, String desc, String sig, String[] exceptions) {
return new MethodVisitor(Opcodes.ASM6) {
return new MethodVisitor(Opcodes.ASM7) {

@Override
public void visitFieldInsn(int op, String owner, String name, String desc) {
Expand Down
2 changes: 1 addition & 1 deletion flink-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ under the License.

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-asm-6</artifactId>
<artifactId>flink-shaded-asm-7</artifactId>
</dependency>

<dependency>
Expand Down
2 changes: 1 addition & 1 deletion flink-scala/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ under the License.

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-asm-6</artifactId>
<artifactId>flink-shaded-asm-7</artifactId>
</dependency>

<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ import org.slf4j.LoggerFactory

import scala.collection.mutable.Map
import scala.collection.mutable.Set
import org.apache.flink.shaded.asm6.org.objectweb.asm.{ClassReader, ClassVisitor, MethodVisitor, Type}
import org.apache.flink.shaded.asm6.org.objectweb.asm.Opcodes._
import org.apache.flink.shaded.asm7.org.objectweb.asm.{ClassReader, ClassVisitor, MethodVisitor, Type}
import org.apache.flink.shaded.asm7.org.objectweb.asm.Opcodes._

import scala.collection.mutable

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,8 @@ under the License.

<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-shaded-asm-6</artifactId>
<version>6.2.1-7.0</version>
<artifactId>flink-shaded-asm-7</artifactId>
<version>7.1-${flink.shaded.version}</version>
</dependency>

<dependency>
Expand Down

0 comments on commit 68e423d

Please sign in to comment.