Commit 1cc7624e authored by andrei's avatar andrei

Updated bc to asm 5 => starting 2.4.2 version

parent f8ddcfe2
......@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: Bytecode Outline
Bundle-SymbolicName: de.loskutov.BytecodeOutline;singleton:=true
Bundle-Version: 2.4.1
Bundle-Version: 2.4.2
Bundle-ClassPath: .,
lib/asm-debug-all.jar
Bundle-Activator: de.loskutov.bco.BytecodeOutlinePlugin
......
......@@ -5,18 +5,18 @@
version="@FEATURE_VERSION@"
provider-name="Andrey Loskutov">
<description url="http://asm.objectweb.org/eclipse/bco/index.html">
<description url="http://asm.ow2.org/eclipse/index.html">
Feature contains bytecode outline and bytecode comparison view
for any java/class file.
</description>
<copyright url="..">
Copyright (C)2004-2011 by Andrey Loskutov Loskutov@gmx.de
Copyright (C)2004-2013 by Andrey Loskutov Loskutov@gmx.de
All rights reserved.
</copyright>
<license>
Copyright (C)2004-2011 by Andrey Loskutov Loskutov@gmx.de
Copyright (C)2004-2013 by Andrey Loskutov Loskutov@gmx.de
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
......@@ -29,9 +29,9 @@ THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS&apos;&apos; AND
</license>
<url>
<update label="ObjectWeb update site" url="http://download.forge.objectweb.org/eclipse-update/site.xml"/>
<discovery label="ObjectWeb update site" url="http://download.forge.objectweb.org/eclipse-update/site.xml"/>
<discovery label="Andrey Loskutov plugins" url="http://andrei.gmxhome.de/eclipse/site.xml"/>
<update label="ObjectWeb update site" url="http://download.forge.objectweb.org/eclipse-update/"/>
<discovery label="ObjectWeb update site" url="http://download.forge.objectweb.org/eclipse-update/"/>
<discovery label="Andrey Loskutov plugins" url="http://andrei.gmxhome.de/eclipse/"/>
</url>
<requires>
......
......@@ -45,7 +45,7 @@ public class CommentedASMifierClassVisitor extends ASMifier implements ICommente
private final ClassNode classNode;
private CommentedASMifierClassVisitor(ClassNode classNode, final DecompilerOptions options, String name, int id) {
super(Opcodes.ASM4, name, id);
super(Opcodes.ASM5, name, id);
this.classNode = classNode;
this.options = options;
showLines = options.modes.get(BCOConstants.F_SHOW_LINE_INFO);
......@@ -326,7 +326,7 @@ public class CommentedASMifierClassVisitor extends ASMifier implements ICommente
private ASMifier getDummyVisitor(){
if (dummyAnnVisitor == null) {
dummyAnnVisitor = new ASMifier(Opcodes.ASM4, "", -1) {
dummyAnnVisitor = new ASMifier(Opcodes.ASM5, "", -1) {
@Override
public void visitAnnotationEnd() {
text.clear();
......
......@@ -44,7 +44,7 @@ public class CommentedClassVisitor extends Textifier implements ICommentedClassV
private int currentInsn;
public CommentedClassVisitor(ClassNode classNode, final DecompilerOptions options) {
super(Opcodes.ASM4);
super(Opcodes.ASM5);
this.classNode = classNode;
this.options = options;
raw = !options.modes.get(BCOConstants.F_SHOW_RAW_BYTECODE);
......@@ -579,7 +579,7 @@ public class CommentedClassVisitor extends Textifier implements ICommentedClassV
private Textifier getDummyVisitor(){
if (dummyAnnVisitor == null) {
dummyAnnVisitor = new Textifier(Opcodes.ASM4) {
dummyAnnVisitor = new Textifier(Opcodes.ASM5) {
@Override
public void visitAnnotationEnd() {
text.clear();
......
......@@ -31,7 +31,7 @@ public class DecompilerHelper {
DecompilerOptions options)
throws IOException, UnsupportedClassVersionError {
ClassReader cr = new ClassReader(is);
ClassNode cn = new ClassNode(Opcodes.ASM4);
ClassNode cn = new ClassNode(Opcodes.ASM5);
int crFlags = 0;
if(options.modes.get(BCOConstants.F_EXPAND_STACKMAP)) {
crFlags |= ClassReader.EXPAND_FRAMES;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment