Integrated: 7903558: jasm: Add support this_class, super_class value(s)

Leonid Kuskov lkuskov at openjdk.org
Tue Sep 19 18:00:01 UTC 2023


On Tue, 19 Sep 2023 17:42:32 GMT, Leonid Kuskov <lkuskov at openjdk.org> wrote:

> This is update for enhancement:  [CODETOOLS-7903558](https://bugs.openjdk.org/browse/CODETOOLS-7903558)
> 
>  ```
> jasm tool should support the values:
> this_class (#ID | IDENT); // CLASSNAME
> super_class (#ID | IDENT); // SUPERCLASSNAME
> 
> Then the command `java -jar asmtools.jar jasm -d . FILE.jasm` where the jasm file is as follows:
> 
> class FILENAME.data {
>   this_class[:] CLASSNAME;
>   super_class[:] SUPERCLASSNAME;
> }
> 
> 
> will produce a binary file `FILENAME.data` which, after decompiling (`java -jar asmtools.jar jdis FILENAME.data`), will be:
> 
> super class CLASSNAME extends SUPERCLASSNAME version 45:0 {}

This pull request has now been integrated.

Changeset: 31cede02
Author:    Leonid Kuskov <lkuskov at openjdk.org>
URL:       https://git.openjdk.org/asmtools/commit/31cede02bc075b63e591d5961bab4288fb29efb9
Stats:     644 lines in 22 files changed: 593 ins; 4 del; 47 mod

7903558: jasm: Add support this_class, super_class value(s)

-------------

PR: https://git.openjdk.org/asmtools/pull/67


More information about the asmtools-dev mailing list