From 5c2ee91e3e66cb737cbd004a6fb193bbbfb1991b Mon Sep 17 00:00:00 2001 From: Udi Date: Thu, 21 Sep 2023 10:04:51 +0300 Subject: [PATCH] Fix a JAVA build issue introduced by #597 (#680) --- HISTORY.md | 3 ++- java/CMakeLists.txt | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index d1fdb8b947..8fa24ab424 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -10,7 +10,8 @@ Fix RepeatableThread to work properly with on thread start callback feature (htt ### Enhancements ### Bug Fixes -db_bench: fix SeekRandomWriteRandom valid check. Use key and value only after checking iterator is valid. +* db_bench: fix SeekRandomWriteRandom valid check. Use key and value only after checking iterator is valid. +* Fix a JAVA build issue introduced by #597 (#680) ### Miscellaneous diff --git a/java/CMakeLists.txt b/java/CMakeLists.txt index 4f6a9d0b9c..1fd32f6d41 100644 --- a/java/CMakeLists.txt +++ b/java/CMakeLists.txt @@ -92,6 +92,7 @@ set(JNI_NATIVE_SOURCES set(JAVA_MAIN_CLASSES src/main/java/org/rocksdb/AbstractCompactionFilter.java src/main/java/org/rocksdb/AbstractCompactionFilterFactory.java + src/main/java/org/rocksdb/AbstractCompactRangeCompletedCb.java src/main/java/org/rocksdb/AbstractComparator.java src/main/java/org/rocksdb/AbstractEventListener.java src/main/java/org/rocksdb/AbstractImmutableNativeReference.java @@ -134,6 +135,7 @@ set(JAVA_MAIN_CLASSES src/main/java/org/rocksdb/CompactionPriority.java src/main/java/org/rocksdb/CompactionReason.java src/main/java/org/rocksdb/CompactRangeOptions.java + src/main/java/org/rocksdb/CompactRangeCompletedCb.java src/main/java/org/rocksdb/CompactionStopStyle.java src/main/java/org/rocksdb/CompactionStyle.java src/main/java/org/rocksdb/ComparatorOptions.java @@ -419,6 +421,7 @@ if(${CMAKE_VERSION} VERSION_LESS "3.11.4") set(NATIVE_JAVA_CLASSES org.rocksdb.AbstractCompactionFilter org.rocksdb.AbstractCompactionFilterFactory + org.rocksdb.AbstractCompactRangeCompletedCb org.rocksdb.AbstractComparator org.rocksdb.AbstractEventListener org.rocksdb.AbstractImmutableNativeReference @@ -446,6 +449,7 @@ if(${CMAKE_VERSION} VERSION_LESS "3.11.4") org.rocksdb.CompactionOptionsFIFO org.rocksdb.CompactionOptionsUniversal org.rocksdb.CompactRangeOptions + org.rocksdb.CompactRangeCompletedCb org.rocksdb.ComparatorOptions org.rocksdb.CompressionOptions org.rocksdb.ConcurrentTaskLimiterImpl