Re: [Sablevm-developer] trying to build w/ free-java-sdk (sablevm) - failure
Brought to you by:
egagnon
From: Etienne M. G. <eti...@uq...> - 2002-09-08 14:37:10
|
Grzegorz Prokopski wrote: >>You are free to do it, though. getMethod (and/or? getDeclaredMethod) is already >>implemented, and can be used as inspiration. Source file: >>sablevm-x.y.z/src/libsablevm/java_lang_Class.c . > > I really took some time and digged into this. > However it seems that it's beyond my current abilities. > > Even if java specs are clear and this method doesn't look too > complicated It's not that simple, either. > - I don't know sablevm internal construction well enough. > Sablevm methods aren't really documented and it would be hard for > me (read: time consuming) to learn them first then try to build > this function. I don't have enough time right now :-/ Welcome to the club of busy people. :-) > I think I'll focus on packaging for now as I haven't solved all the > issues yet. Maybe your students would be interested in biteing it? I think that waiting a couple of week for my schedule to be less full is the best you can hope for, unless somebody else on this list is interested to do it before then. > btw: why is this called 'reflection' ? Because the traditional "reflection" (the real thing, not the Java *very* limited library support for it) allows you to reflect into live objects and classes, in purely dynamic OO systems. E.g. it allows you not only to "look" at the structure of classes and objects, but also to modify them *dynamically*, adding and removing fields and methods. Etienne -- Etienne M. Gagnon http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |