mirror of https://github.com/apache/openjpa.git
OPENJPA-2730 Update to ASM 6 - This closes #11
git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@1826718 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
14d4b8007c
commit
5700102036
|
@ -75,8 +75,8 @@
|
|||
</dependency>
|
||||
<dependency>
|
||||
<groupId>org.apache.xbean</groupId>
|
||||
<artifactId>xbean-asm5-shaded</artifactId>
|
||||
<version>3.17</version>
|
||||
<artifactId>xbean-asm6-shaded</artifactId>
|
||||
<version>4.6</version>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
|
||||
|
|
|
@ -28,10 +28,10 @@ import java.io.InputStream;
|
|||
import java.io.OutputStream;
|
||||
import java.net.URLDecoder;
|
||||
|
||||
import org.apache.xbean.asm5.ClassReader;
|
||||
import org.apache.xbean.asm5.ClassVisitor;
|
||||
import org.apache.xbean.asm5.ClassWriter;
|
||||
import org.apache.xbean.asm5.Opcodes;
|
||||
import org.apache.xbean.asm6.ClassReader;
|
||||
import org.apache.xbean.asm6.ClassVisitor;
|
||||
import org.apache.xbean.asm6.ClassWriter;
|
||||
import org.apache.xbean.asm6.Opcodes;
|
||||
import serp.bytecode.BCClass;
|
||||
|
||||
import static java.util.Arrays.asList;
|
||||
|
@ -116,7 +116,7 @@ public final class AsmAdaptor {
|
|||
final ClassReader cr = new ClassReader(b);
|
||||
try
|
||||
{
|
||||
cr.accept(new ClassVisitor(Opcodes.ASM5)
|
||||
cr.accept(new ClassVisitor(Opcodes.ASM6)
|
||||
{
|
||||
@Override
|
||||
public void visit(final int i, final int i1,
|
||||
|
|
Loading…
Reference in New Issue