Gets cap_default and context from top frame. All types of JNI calls work now