- Clone this repository
- Edit
org.gradle.java.home
ingradle.properties
to point to your JDK 8 installation. - Execute
./gradlew build run
. You should observe an error similar to the following:> Task :run FAILED Exception in thread "main" java.lang.NoSuchMethodError: java.nio.ByteBuffer.limit(I)Ljava/nio/ByteBuffer; at org.xerial.snappy.Snappy.compress(Snappy.java:152) at SnappyRepro.App.main(App.java:15)
- Edit
build.gradle
to use version1.1.7.3
of snappy and execute./gradlew build run
. Observe successful run.
-
Notifications
You must be signed in to change notification settings - Fork 0
domesticsimian/SnappyRepro
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Repository for demonstrating bug in snappy
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published