hotspot/src/share/vm/runtime/jfieldIDWorkaround.hpp
static jfieldID to_static_jfieldID(JNIid* id) {
{- -------------------------------------------
(1) id 引数で渡されたポインタ値を (jfieldID 型にキャストして) リターンするだけ.
---------------------------------------- -}
assert(id->is_static_field_id(), "from_JNIid, but not static field id");
jfieldID result = (jfieldID) id;
assert(from_static_jfieldID(result) == id, "must produce the same static id");
return result;
}
This document is available under the GNU GENERAL PUBLIC LICENSE Version 2.