fusesource / leveldbjni

A Java Native Interface to LevelDB
BSD 3-Clause "New" or "Revised" License
536 stars 143 forks source link

Bug on NativeBuffer offset #1

Closed dyu closed 12 years ago

dyu commented 13 years ago

Here's a diff.

@@ -99,7 +99,7 @@ class NativeBuffer extends NativeObject { super(NativeBufferJNI.malloc(length)); this.capacity = length; this.retained = new AtomicInteger(1);