diff options
author | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2007-02-09 18:05:21 +0000 |
---|---|---|
committer | chiba <chiba@30ef5769-5b8d-40dd-aea6-55b5d6557bb3> | 2007-02-09 18:05:21 +0000 |
commit | fa1ebd7549d3f17ce49e7942703bc598f9142081 (patch) | |
tree | 442d970dbe49c0e02f8bf5b7a04549ce65f6d66b /src/test | |
parent | 0940370343d08e42be624650d0a9077dc838b4f9 (diff) | |
download | javassist-fa1ebd7549d3f17ce49e7942703bc598f9142081.tar.gz javassist-fa1ebd7549d3f17ce49e7942703bc598f9142081.zip |
modified javassist.convert.* to support the stack map table of Java 6.
git-svn-id: http://anonsvn.jboss.org/repos/javassist/trunk@351 30ef5769-5b8d-40dd-aea6-55b5d6557bb3
Diffstat (limited to 'src/test')
-rw-r--r-- | src/test/test/Test.java | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/test/test/Test.java b/src/test/test/Test.java new file mode 100644 index 00000000..29a08a69 --- /dev/null +++ b/src/test/test/Test.java @@ -0,0 +1,14 @@ +package test; + +import javassist.bytecode.*; + +public class Test { + public static void main(String[] args) { + String[] names = Mnemonic.OPCODE; + for (int i = 0; i < names.length; i++) + if (names[i] == null) + System.out.println(" case " + i + " :"); + else + System.out.println(" case Opcode." + names[i].toUpperCase() + " :"); + } +} |