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

Kevin Looney kevin.looney at oracle.com
Tue Mar 6 15:42:45 UTC 2018


Hello Maxim,

Thanks for identifying the issue in asmtools.

> The following patch address quoted class names handling bug in `asmtools jasm`.
Did you forget to attach the patch? - or are you simply reporting a 
problem without a fix?

Thanks in advance, Regards,
Kevin L
Manager - Conformance tools


On 3/3/18 9:22 PM, Maxim Degtyarev wrote:
> 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


-- 
kevin.looney at oracle.com



More information about the code-tools-dev mailing list