[Bug libgcj/19512] Optional JNI error checking

mark at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Jan 18 21:52:00 GMT 2005


------- Additional Comments From mark at gcc dot gnu dot org  2005-01-18 21:51 -------
Some other things that could be checked:

- Using wrongly formatted JNI descriptor strings in
Get[Static](Field|Method)ID() (note '.' is not allowed, must be '/').
- Using a JNIEnv in another thread.
- LocalReferences that are used after a native method returns.
- Leaking strings/chars gotten from GetString(UTF)Chars (or
JCL_jstring_to_cstring  in libclasspath)
- Using non-existing Field or Method ids

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19512



More information about the Gcc-bugs mailing list