[kaffe] libraries/clib/native/Field.c

Dalibor Topic robilad@yahoo.com
Fri, 10 May 2002 11:45:27 -0700 (PDT)


Hi Godmar,

--- Godmar Back <gback@cs.utah.edu> wrote:
> > Overall it doesn't appear JNI convention is used
> in many classes; are
> > there some specific constraints on choosing one
> over the other?
> > 

> 
> I think back then we had agreed to use JNI for new
> functions, but
> to not bother converting existing functions to JNI. 
> This applies to
> functions in the native libraries that are very
> VM-specific, such
> as the reflection stuff - less VM-specific (and all
> user-written)
> native methods should use JNI.

Thanks for clearing that up. Maybe we should have a
small FAQ.jni ?

> Also, I'm not sure you want to match Sun's printout
> - it's not like
> this remains constant over JDK versions.

It makes life easier when you compare output of JDK
and kaffe. But as it's not in the spec most of the
time, it's more of a developer preference: if you
match Sun's output, it's fine, if you don't, it's fine
with me, too.

best regards,

dalibor topic

__________________________________________________
Do You Yahoo!?
Yahoo! Shopping - Mother's Day is May 12th!
http://shopping.yahoo.com