You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
709 B
28 lines
709 B
3 years ago
|
/**
|
||
|
* This code can be assembled with <a href="https://wiki.openjdk.java.net/display/CodeTools/asmtools">asmtools</a>
|
||
|
* using <code>asmtools jasm -g *.jasm</code> command line.
|
||
|
*/
|
||
|
package pkg;
|
||
|
|
||
|
super public class TestInheritanceChainCycle
|
||
|
extends TestInheritanceChainCycle
|
||
|
version 52:0
|
||
|
{
|
||
|
public Method "<init>":"()V"
|
||
|
stack 1 locals 1
|
||
|
{
|
||
|
aload_0;
|
||
|
invokespecial Method java/lang/Object."<init>":"()V";
|
||
|
return;
|
||
|
}
|
||
|
public Method printMessage:"()V"
|
||
|
stack 2 locals 1
|
||
|
{
|
||
|
getstatic Field java/lang/System.out:"Ljava/io/PrintStream;";
|
||
|
ldc String "Hello, bug!";
|
||
|
invokevirtual Method java/io/PrintStream.println:"(Ljava/lang/String;)V";
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
} // end Class TestInheritanceChainCycle
|