next up previous contents
Next: References Up: Java Class File Previous: jdisco Output

D-Java Output

The D-Java program, written by Shawn Silverman, gives a more readable output of the class file.

------- D-JAVA (Tue 12-11-1996) --------
  written by: Shawn Silverman
      e-mail: umsilve1@cc.umanitoba.ca
----------------------------------------


Major version: 45
Minor version: 3

class example extends Object
{

Method void <init>()
>> max_stack=1, max_locals=1 <<
    0 aload_0
    1 invokenonvirtual #5 <Method Object.<init>():void>
    4 return

Method public static void main(String[])
>> max_stack=2, max_locals=1 <<
    0 ldc #74 <String "Hello, world">
    2 invokestatic #51 <Method pcio.pcwrite(String):void>
    5 invokestatic #55 <Method pcio.pcwriteln():void>
    8 return
}



mark@bottom.xs4all.nl