Re: [Sablevm-developer] JNI implementation
Brought to you by:
egagnon
From: Etienne G. <gag...@uq...> - 2004-01-19 21:08:42
|
David B=E9langer wrote: > There are a few JNI functions such as GetSuperClass, IsAssignableFrom > that have most functionality implemented in the reflection native meth= ods. > I will borrow the implementation for now but eventually, we may want > to factor out this functionality and reorganize the code. At some point, we might want to carefully look at both the JNI & reflecti= on stuff. Ideally, reflection would use JNI functions when available, so th= at a VM would only need to implement JNI to get as much as reflection functi= onal. But, we must first find out if it is possible, because of the side effect= s that can be triggered or not by the various methods/functions (e.g. class initialization, etc). Etienne --=20 Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |