You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by ab...@apache.org on 2026/01/27 20:56:47 UTC
(cassandra-java-driver) branch 4.x updated: Fix OSGi LZ4 test
This is an automated email from the ASF dual-hosted git repository.
absurdfarce pushed a commit to branch 4.x
in repository https://gitbox.apache.org/repos/asf/cassandra-java-driver.git
The following commit(s) were added to refs/heads/4.x by this push:
new 40142842a Fix OSGi LZ4 test
40142842a is described below
commit 40142842af845504bd7c4b17491d662159b5bdcb
Author: Lukasz Antoniak <Lu...@gmail.com>
AuthorDate: Tue Jan 27 17:21:52 2026 +0100
Fix OSGi LZ4 test
---
.../com/datastax/oss/driver/internal/osgi/support/BundleOptions.java | 3 +++
pom.xml | 2 +-
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/osgi-tests/src/test/java/com/datastax/oss/driver/internal/osgi/support/BundleOptions.java b/osgi-tests/src/test/java/com/datastax/oss/driver/internal/osgi/support/BundleOptions.java
index 93cc7718b..63d11f8ee 100644
--- a/osgi-tests/src/test/java/com/datastax/oss/driver/internal/osgi/support/BundleOptions.java
+++ b/osgi-tests/src/test/java/com/datastax/oss/driver/internal/osgi/support/BundleOptions.java
@@ -128,6 +128,9 @@ public class BundleOptions {
return () ->
options(
mavenBundle("at.yawk.lz4", "lz4-java").versionAsInProject(),
+ // at.yawk.lz4 requires sun.misc package
+ mavenBundle("com.diffplug.osgi", "com.diffplug.osgi.extension.sun.misc")
+ .version("0.0.0"),
systemProperty("cassandra.compression").value("LZ4"));
}
diff --git a/pom.xml b/pom.xml
index 511d2eb30..3948997b1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -73,7 +73,7 @@
<jackson-databind.version>${jackson.version}</jackson-databind.version>
<!-- optional dependencies -->
<snappy.version>1.1.10.1</snappy.version>
- <lz4.version>1.10.1</lz4.version>
+ <lz4.version>1.10.2</lz4.version>
<!-- test dependencies -->
<assertj.version>3.19.0</assertj.version>
<commons-exec.version>1.3</commons-exec.version>
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org