Skip to content

Commit

Permalink
Fix JNI function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
adamretter committed Dec 14, 2023
1 parent 5ccbb64 commit c75fadc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion java/rocksjni/write_batch_with_index.cc
Original file line number Diff line number Diff line change
Expand Up @@ -946,7 +946,8 @@ jlongArray Java_org_rocksdb_WBWIRocksIterator_entry1(JNIEnv* env,
* Method: refresh0
* Signature: (J)V
*/
void Java_org_rocksdb_WBWIRocksIterator_refresh0(JNIEnv* env) {
void Java_org_rocksdb_WBWIRocksIterator_refresh0(JNIEnv* env, jobject /*jobj*/,
jlong /*handle*/) {
ROCKSDB_NAMESPACE::Status s =
ROCKSDB_NAMESPACE::Status::NotSupported("Refresh() is not supported");
ROCKSDB_NAMESPACE::RocksDBExceptionJni::ThrowNew(env, s);
Expand Down

0 comments on commit c75fadc

Please sign in to comment.