java.lang.reflect.Methods.invoke(...)

Artur Biesiadowski abies at pg.gda.pl
Fri Nov 21 05:58:37 PST 1997


On Thu, 20 Nov 1997, Patrick Simpson wrote:

> Has anyone been able to implement this functionality in Kaffe yet? I'm
> in the process of implementing the stuff required to get RMI rolling. I
> would appreciate any info on people that have already done some of the
> work such as Serialization and the Introspection API's. I've implemented
> all the java.lang.reflect.Field native methods as well as the native
> methods of package java.util.zip using the ZLib library as work horse.
> 

I have also implemented Field methods, and also  
Class.getConstructor(s)/getMethod(s) and send it to Tim some time ago.
If you are interested in updated Class.c, mail me.

As far as Method invoke (or Constructor.getInstance) are concerned,
problem for me was in converting array of Objects to varargs for
execute_java_method. Somebody who truly understands vararg handling could
look at this problem.

Artur

P.S.
What about making some snapshot directory, or maybe global repository for
patches ? This way interested people could check what has/hasn't been
done, and debug other peoples' stuff between releases.



More information about the kaffe mailing list