[PATCH][asmtools] Fix incorrect handling of quoted class names by jasm

Maxim Degtyarev mdegtyarev at gmail.com
Sun Mar 4 05:22:07 UTC 2018


The following patch address quoted class names handling bug in `asmtools jasm`.

Quick example: Following code will produce class `TestQuoted` in
top-level package ignoring package, specified by the "package"
statement.
After removing quotes around class name resulting class file will
contain class `pkg.TestQuoted` as expected.


package  pkg;

super public class "TestQuoted"
    version 52:0
{


public Method "<init>":"()V"
    stack 1 locals 1
{
        aload_0;
        invokespecial    Method java/lang/Object."<init>":"()V";
        return;
}

} // end Class TestQuoted


More information about the code-tools-dev mailing list