Home | History | Annotate | Download | only in articles

Lines Matching full:strong

57 <p>The JNIEnv is used for thread-local storage.  For this reason, <strong>you cannot share a JNIEnv between threads</strong>.
77 attached, it has no JNIEnv, and <strong>cannot make JNI calls</strong>.</p>
88 <p>Threads attached through JNI <strong>must call
89 <code>DetachCurrentThread</code> before they exit</strong>.
124 is a class reference and <strong>must be protected</strong> with a call
152 <strong>Even if the object itself continues to live on after the native method
153 returns, the reference is not valid.</strong>
176 <strong>To see if two references refer to the same object,
177 you must use the <code>IsSameObject</code> function.</strong> Never compare
181 <strong>must not assume object references are constant or unique</strong>
222 <strong>UTF-16 strings are not zero-terminated</strong>, and \u0000 is allowed,
226 <p><strong>Don't forget to <code>Release</code> the strings you <code>Get</code></strong>. The
232 <p><strong>Data passed to NewStringUTF must be in Modified UTF-8 format</strong>. A
255 <strong>You must <code>Release</code> every array you <code>Get</code>.</strong> Also, if the <code>Get</code>
277 <strong>is not freed</strong>.
282 writes are <strong>not</strong> aborted.
304 <p>Also note that the <code>JNI_COMMIT</code> flag does <strong>not</strong> release the array,
349 <p><strong>You must not call most JNI functions while an exception is pending.</strong>
464 <li> Provide a native function: <code><strong>jint JNI_OnLoad(JavaVM* vm, void* reserved)</strong></code></li>
516 that use 64-bit pointers, <strong>you need to stash your native pointers in a
517 <code>long</code> field rather than an <code>int</code></strong>.