Java extensions...

Maxim Kizub max at immsp.kiev.ua
Wed Jan 6 14:41:13 PST 1999


I do this now. But if I wish to change bytecode
this will not help.
For example, currently I changed class signature
to understand valid kiev & pizza signatures, like
Lkiev/stdlib/List;<Akiev/stdlib/List$A;> for kiev
and Lpizza/util/List;<AA;> for pizza. For example,
op_new, or_instanceof bytecodes and others
will crash for normal JVM... The class will not be
even loaded.

I mean, I did (and Martin Oderskiy too) all possible
with additional attributes, and kiev (as well as pizza) are
compatible with Sun's JVM... But I wish
to add _full_ support for extensions. This mean
the change not only in the set of bytecode, but
change class constants and so on. New bytecode
will not be compatible with Sun's specification.

Godmar Back wrote:
> 
>  Define your own class file attributes.
> 
>         - Godmar
> 
> ?
> ? ?Hello.
> ? ?
> ? ?Thanks to Godmar, kaffe now works on my linux box.
> ? ?I've decided to start adding some extensions to java.
> ? ?First is JVM support for type parametrization.
> ? ?I hope, I'll make a preview in a week.
> ? ?Any chances this work will be included in main
> ? ?source tree (for example, with ./configure --enable-extensions ) ?
> ? ?After that I'm going to try make multimethod calls...
> ? ?Just to train myself before adding support for prolog engine
> ? ?of kiev compiler, wich will be much  more complex... ;-)
> ? ?Peter, you was intrested in it, wasn't you?
> ? ?Will someone help me, when I will be ready, with
> ? ?kaffe.def file ?
> ?
> ?
> ? Hello.
> ?
> ? What solutions for better compatibility is prefered for
> ? kaffe for extended bytecode:
> ?
> ? a) change .class file extension to another... .klass
> ? for example
> ? b) change signature of .class files from 0xCAFEBABE to
> ? something else...
> ? c) simply change major version of bytecode.
> ?
> ? or, maybe, a,b,c together?
> ?
> ? Regards
> ?   Maxim Kizub
> ?
> ?


More information about the kaffe mailing list