How to get the class fields' values

What's the recommended way to do this? Currently, I call GetLocalVariableTable(), look for 'this', call GetLocalObject() on it to get the jobject, then use JNI to get the non-static values. This appears to work, except that after a few iterations there is a crash (windows) during garbage collection, but it could be caused by other, unidentified, issues...

Thoughts? TIA.

[388 byte] By [b_tcha] at [2007-10-3 11:43:09]
# 1
Your code is probably fine, and you are probably running into http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6497210See also http://forum.java.sun.com/thread.jspa?messageID=9419890SUN needs to fix a few bugs for this to work...
sanokistokaa at 2007-7-15 14:15:01 > top of Java-index,Developer Tools,Debugging and Profiling Tool APIs...