jasmin

Jasmin in CLASSPATH

I have download jasmin.jar from http://sourceforge.net/project/showfiles.php?group_id=100746 I have changed my CLASSPATH to the following: echo %CLASSPATH% C:\Program Files\Java\jre6\lib\ext\QTJava.zip;C:\Sun\SDK\lib;C:\Sun\SDK\jdk\lib\jasmin\jasmin.jar; The following command works without a problem: java -jar C:\Sun\SDK\jdk\lib\ja...

How can I change function argument's value

I have used a decompiler that outputs Jasmin. How can I change the value of a function's argument? Example: .method public constructor <init>(Ljava/lang/String;ZLjava/util/Locale;Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Ljava/lang/S...

How to avoid "Illegal type in constant pool" using "ldc_w <classname>" in Jasmin?

I'm writing a compiler that generates Jasmin code and want to invoke a method that takes a Class as a parameter. public class CTest { public static void main(String[] args) throws Exception { java.lang.reflect.Array.newInstance(CTest.class, 0); } } So in Jasmin, I think that should be: .class public CTest2...