| 787 | } |
| 788 | |
| 789 | jthrowable JEnv::InsertClassIntoMissingCache(const string &className,const jthrowable &tmp) { |
| 790 | auto throwable = reinterpret_cast<jthrowable>(m_env->NewGlobalRef(tmp)); |
| 791 | s_missingClasses.emplace(className, throwable); |
| 792 | m_env->DeleteLocalRef(tmp); |
| 793 | |
| 794 | return throwable; |
| 795 | } |
| 796 | |
| 797 | jobject JEnv::NewDirectByteBuffer(void *address, jlong capacity) { |
| 798 | jobject jo = m_env->NewDirectByteBuffer(address, capacity); |
nothing calls this directly
no test coverage detected