is its own superclass GitOrigin-RevId: 1fe14694ce69b135f2e3fe4cde84ce3d42997228master
parent
e16fb8ef1d
commit
31cff62c94
Binary file not shown.
@ -0,0 +1,22 @@ |
||||
package pkg; |
||||
|
||||
public class TestInheritanceChainCycle extends TestInheritanceChainCycle { |
||||
public void printMessage() { |
||||
System.out.println("Hello, bug!");// 21 22 23 |
||||
}// 24 |
||||
} |
||||
|
||||
class 'pkg/TestInheritanceChainCycle' { |
||||
method 'printMessage ()V' { |
||||
0 4 |
||||
3 4 |
||||
5 4 |
||||
8 5 |
||||
} |
||||
} |
||||
|
||||
Lines mapping: |
||||
21 <-> 5 |
||||
22 <-> 5 |
||||
23 <-> 5 |
||||
24 <-> 6 |
@ -0,0 +1,27 @@ |
||||
/** |
||||
* 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 |
Loading…
Reference in new issue