Differences between revisions 1 and 2
Revision 1 as of 2008-02-11 06:11:33
Size: 435
Comment:
Revision 2 as of 2008-02-11 06:21:01
Size: 469
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
New-style types in Jython 2.2 were created from Java code using a system of templates that inserted code in the types to be exposed to Python and created new *Derived classes that allowed them to be subclasses. The type exposing templates have been replaced with Java annotations and bytecode generation, but the *Derived items are still generated from templates. They need to be hooked into the bytecode generation system as well. New-style types in Jython 2.2 were created from Java code using a system of templates that inserted code in the types to be exposed to Python and created new *Derived classes that allowed them to be subclasses. The type exposing templates have been replaced with Java annotations and bytecode generation as explained in PythonTypesInJava, but the *Derived items are still generated from templates. They need to be hooked into the bytecode generation system as well.

New-style types in Jython 2.2 were created from Java code using a system of templates that inserted code in the types to be exposed to Python and created new *Derived classes that allowed them to be subclasses. The type exposing templates have been replaced with Java annotations and bytecode generation as explained in PythonTypesInJava, but the *Derived items are still generated from templates. They need to be hooked into the bytecode generation system as well.

ExposeAnnotations (last edited 2008-11-15 09:15:59 by localhost)