changeThread
Change thread this pointer can be accessed from to the current one.
When you call this, you MUST make sure the pointer is not used by anyone else. Beware that a lot of methods returning pointers will still use them and the native code, when using the pointer directly, generally does NOT check the pointer's thread! Make a clone if you are not sure.
Correct thread assignment is necessary so that the resource can be tracked and destroyed in the right thread by the JNI interface.
Throws
If the specific implementation does not support changing threads.