Woran ich in der letzten Zeit gearbeitet habe...

[Session started at 2007-01-15 18:33:45 +0100.]
Pura Experimental Java Virtual Machine v0.03 - (c) 2007 Daniel Klein
Parsing VM parameters...
Classpath: .:~/Desktop:/Volumes/iDisk/Documents/work/diplom/prototype/mac/Pura/lib:
/Volumes/iDisk/Documents/work/diplom/prototype/mac/Pura/:
/Volumes/iDisk/Documents/work/diplom/prototype/mac/Pura/testclasses:./testclasses
Initializing Method Area...
Loading class Test
file class loader is loading class Test
Looking for file ./Test.class... Not Found.
Looking for file ~/Desktop/Test.class... Not Found.
Looking for file /Volumes/iDisk/Documents/work/diplom/prototype/mac/Pura/lib/Test.class... Not Found.
Looking for file /Volumes/iDisk/Documents/work/diplom/prototype/mac/Pura/Test.class... Not Found.
Looking for file /Volumes/iDisk/Documents/work/diplom/prototype/mac/Pura/testclasses/Test.class... Found!
class size is 268 bytes
Parsing class data...
Magic: 0xCAFEBABE
major version: 49
minor version: 0
Number of constant pool entries: 14
1: CONSTANT_Methodref <#3, #12>
2: CONSTANT_Class <#13>
3: CONSTANT_Class <#14>
4: CONSTANT_Utf8 ""
5: CONSTANT_Utf8 "()V"
6: CONSTANT_Utf8 "Code"
7: CONSTANT_Utf8 "LineNumberTable"
8: CONSTANT_Utf8 "main"
9: CONSTANT_Utf8 "([Ljava/lang/String; )I"
10: CONSTANT_Utf8 "SourceFile"
11: CONSTANT_Utf8 "Test.java"
12: CONSTANT_NameAndType <#4, #5>
13: CONSTANT_Utf8 "Test"
14: CONSTANT_Utf8 "java/lang/Object"
Interfaces: 0
Fields: 0
Creating class instance variable table with 0 entries.
Creating instance variable table with 0 entries.
Methods: 2
Method: <#4, #5> attributes: 1
Method: <#8, #9> attributes: 1
Attributes: 1
Attribute: <#10>, 2 bytes
Done parsing class data.
Cleaning up file class loader structure
Creating stack with a size of 1048576 bytes.
Pushing new stack frame.
Executing method Test.main([Ljava/lang/String; )I...
Executing ICONST_2
Executing ISTORE_1
     Storing integer 2 from the stack into slot 1.
Executing ICONST_3
Executing ISTORE_2
     Storing integer 3 from the stack into slot 2.
Executing ILOAD_1
     Loading integer 2 from slot 1.
Executing ILOAD_2
     Loading integer 3 from slot 2.
Executing IADD
     Adding 3 and 2, result is 5.
Executing IRETURN
Unsupported opcode IRETURN!
Error: Execution haltet.

Ist noch nicht viel, aber ein Anfang. Zu sehen das etwas läuft ist einfach das größte! Happy

-Daniel
|