30:ffd0431b8307
|
2004-11-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a test of instantiation within an <init> method in order to determine
whether the correct invocation is used. |
|
|
tests/ValueSubclass.java
|
|
29:68fbab7e6269
|
2004-11-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added UNARY_NEGATIVE support.
Added insufficient support for invocation of superclass methods. |
|
|
bytecode.py
|
|
28:8bd6e8322ae0
|
2004-11-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added overriding tests to ValueSubclass, modifying Value.
Added a test of dispatch to methods with identical names. |
|
|
tests/DispatchTest.java tests/Value.java tests/ValueSubclass.java
|
|
27:fe4821483813
|
2004-11-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added an uncaught (and hence re-raised) exception to the testCatchFinally
method. Added a method with multiple exception areas. |
|
|
tests/ExceptionTest.java
|
|
26:1622bd94b804
|
2004-11-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the iinc translation. |
|
|
bytecode.py
|
|
25:fe245dbbb3f1
|
2004-11-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Made the results of various tests more suggestive. |
|
|
tests/ExceptionTest.java
|
|
24:7121c7af1076
|
2004-11-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added exception type checking. |
|
|
bytecode.py
|
|
23:cdfdf58bec4c
|
2004-11-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed get_name to get_python_name in most remaining places of relevance.
Fixed invokespecial to get the method's class directly rather than
erroneously use self.__classes__.
Added simple base class definition. |
|
|
bytecode.py
|
|
22:50db0817ceeb
|
2004-11-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Reverted the ret instruction's implementation to use return addresses.
Introduced finally handler detection to produce END_FINALLY rather than
RAISE_VARARGS from athrow instructions.
Fixed invokevirtual.
Changed new and invokespecial to work better with the Python initialisation
model, removing the __java_init__ method. Now, the new instruction yields a
class reference which is then used accordingly by invokespecial. However,
invokespecial is made aware of whether it is operating within an <init>
method, although this may need further examination.
Changed the translate, disassemble and BytecodeReader.process signatures to
work on methods rather than separate code and exception table objects. |
|
|
bytecode.py
|
|
21:e28c3a721661
|
2004-11-10 |
Paul Boddie |
changeset
files
shortlog
graph
|
Reverted to the proper initialisation method name. |
|
|
classfile.py
|
|