From fb23d83bcc50e67ea69ac34918d213303576955f Mon Sep 17 00:00:00 2001 From: udi-speedb <106253580+udi-speedb@users.noreply.github.com> Date: Thu, 21 Sep 2023 11:20:40 +0300 Subject: [PATCH] Java build: Fix for build issue introduced by #597 (#681) --- HISTORY.md | 3 ++- java/CMakeLists.txt | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/HISTORY.md b/HISTORY.md index d10ecfe2d9..c243679fe1 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 a7bc7a34fd..c8a36aac30 100644 --- a/java/CMakeLists.txt +++ b/java/CMakeLists.txt @@ -100,6 +100,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 @@ -142,6 +143,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 @@ -648,6 +650,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 @@ -675,6 +678,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