66:0091c7d9b220
|
2004-11-20 |
Paul Boddie |
changeset
files
shortlog
graph
|
Changed the new implementation to use object.__new__ and root classes to
inherit from object.
Changed static and class initialisation methods to be static methods.
Harmonised invokespecial and invokestatic.
Fixed/improved ldc, ldc_w. |
|
|
bytecode.py
|
|
65:d80561b75651
|
2004-11-20 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a get_class method so that static and special methods can be
appropriately dispatched using MethodRefInfo objects. |
|
|
classfile.py
|
|
64:a2fd4b2c2b3b
|
2004-11-20 |
Paul Boddie |
changeset
files
shortlog
graph
|
Removed avoidance of abstract class initialisation. |
|
|
classhook.py
|
|
63:2c8239b4e8ad
|
2004-11-19 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a test of switch statements. |
|
|
tests/SwitchTest.java
|
|
62:be1a46eda340
|
2004-11-19 |
Paul Boddie |
changeset
files
shortlog
graph
|
Introduced class initialisation avoidance for abstract classes (although
this needs further investigation). |
|
|
classhook.py
|
|
61:aec972e2534b
|
2004-11-19 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed long and double constant handling.
Added/fixed get_value methods to/for various constant types. |
|
|
classfile.py
|
|
60:6dda8e27def2
|
2004-11-19 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added lookupswitch and tableswitch fixes.
Added constant loading fixes.
Added slightly improved import behaviour around superclasses. |
|
|
bytecode.py
|
|
59:d27d8758c4d3
|
2004-11-15 |
Paul Boddie |
changeset
files
shortlog
graph
|
Replaced apply usage with CALL_FUNCTION_VAR.
Changed *static instruction translations to use the class name rather than
self.__class__ although this is likely to be insufficient.
Added static field definition and support for the <clinit> method as a
class method in Python classes.
Changed superclass loading to hopefully get sibling classes directly from
the global namespace.
Adopted globals() in the bytecode test program for the global namespace.
Fixed classhook to avoid "restricted mode" issues with the global namespace
used, added calling of __clinit__ (the Python equivalent of <clinit>), and
introduced improved processing of classes by ordering them according to
superclass dependencies. |
|
|
bytecode.py classhook.py
|
|
58:7fcd2c0918c7
|
2004-11-15 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a test of class loading and superclass presence. |
|
|
tests/ValueSubclass.java
|
|
57:4d42b375a770
|
2004-11-14 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added tests of static initialisation. |
|
|
tests/FieldTest.java
|
|