Commit Graph

686 Commits

Author SHA1 Message Date
Taro L. Saito fd1fa411d9 temporary disable native code injection 2011-08-01 18:37:04 +09:00
Taro L. Saito 9469afbe38 catch UnsatisfiedLinkError 2011-08-01 18:35:30 +09:00
Taro L. Saito 9e95185692 Set java target to 1.6 2011-08-01 18:26:07 +09:00
Taro L. Saito 8d49dddbba use static call instead of call by reflection 2011-08-01 18:22:48 +09:00
Taro L. Saito 94b879fe12 fix 2011-08-01 17:16:23 +09:00
Taro L. Saito 331e7ef10b remove unnecessary flag 2011-08-01 17:10:39 +09:00
Taro L. Saito 3e533b4e7d use context class loader 2011-08-01 17:03:55 +09:00
Taro L. Saito 9c86835cc3 initialize local snappy loader 2011-08-01 16:56:40 +09:00
Taro L. Saito 94d5356ba9 use local static variable to hold loaded states 2011-08-01 16:53:00 +09:00
Taro L. Saito 875235229c Split the loader code 2011-08-01 16:43:25 +09:00
Taro L. Saito f7a0619f64 Add local native lib loader 2011-08-01 16:33:18 +09:00
Taro L. Saito f40a9b96cb Add org.xerial.snappy.disable.inject 2011-08-01 16:09:06 +09:00
Taro L. Saito 387ffa34f0 use parent 2011-08-01 15:53:08 +09:00
Taro L. Saito ecd8aaa3e9 Add comments 2011-08-01 15:47:02 +09:00
Taro L. Saito 199b12e61c Add comment on SnappyLoader.load 2011-08-01 15:19:28 +09:00
Taro L. Saito 7931742179 Avoid to load native library twice even if SnappyNativeLoader injected to an ancestor class loader is discared 2011-08-01 14:17:22 +09:00
Taro L. Saito 0f75526c85 print stack trace 2011-08-01 14:03:15 +09:00
Taro L. Saito 5d012b512f merged 2011-08-01 13:58:35 +09:00
Taro L. Saito 75e34c8717 Wrap native code loading part with synchornized block 2011-08-01 13:57:47 +09:00
Taro L. Saito c4870fb505 Report exception message correctly 2011-08-01 13:43:12 +09:00
Taro L. Saito 831e0963e5 [maven-release-plugin] prepare for next development iteration 2011-07-11 21:25:56 +09:00
Taro L. Saito 3cf82ed9fc [maven-release-plugin] copy for tag snappy-java-1.0.3 2011-07-11 21:25:55 +09:00
Taro L. Saito 9a610a1ac7 [maven-release-plugin] prepare release snappy-java-1.0.3 2011-07-11 21:25:54 +09:00
Taro L. Saito 30b3d247bd merged 2011-07-06 10:47:23 +09:00
Taro L. Saito 1c46977e67 Add a target for generationg SnappyNativeLoader bytecode 2011-07-06 10:46:47 +09:00
Taro L. Saito 50a142ae43 Build Mac i386 library 2011-07-04 16:04:23 +09:00
Taro L. Saito c675bf4280 Fixes issue 23 2011-07-04 09:26:30 +09:00
Taro L. Saito 36f0208eb1 Fixes issue 22
Thanks for the report.
getUncompressedLength() was an experimental method, that tries to migrate C++ code of the Snappy into Java. I removed this method.
2011-07-02 14:01:49 +09:00
Taro L. Saito c6e2aebe11 Build native libraries with arrayCopy method 2011-07-01 10:59:43 +09:00
Taro L. Saito da64065e18 Add close method to clean up work space 2011-06-30 14:10:32 +09:00
Taro L. Saito 4281128209 Add rawWrite and rawRead API to the SnappyOutputStream and SnappyInputStream to support primitive array compression/decompression 2011-06-30 13:12:42 +09:00
Taro L. Saito dc9b639335 Update 2011-06-27 12:30:35 +09:00
Taro L. Saito a7d993efd9 [maven-release-plugin] prepare for next development iteration 2011-06-27 12:16:42 +09:00
Taro L. Saito f563677b81 [maven-release-plugin] copy for tag snappy-java-1.0.3-rc4 2011-06-27 12:16:40 +09:00
Taro L. Saito 8324a4040d [maven-release-plugin] prepare release snappy-java-1.0.3-rc4 2011-06-27 12:16:38 +09:00
Taro L. Saito 536f130595 Fixes issue 21 2011-06-27 12:15:50 +09:00
Taro L. Saito 3fd156410c Add test for loading snappy-java using different class loaders in the same JVM 2011-06-27 11:40:59 +09:00
Taro L. Saito 2e7d3e907d Linux binary 2011-06-27 10:40:03 +09:00
Taro L. Saito b1d7fa9b0c Mac x86_64 lib 2011-06-27 10:36:44 +09:00
Taro L. Saito 5adc92c6f6 Add i386 lib 2011-06-27 10:35:16 +09:00
Taro L. Saito e1a14f9b72 Stop using JDK6 IOException constructor 2011-06-27 10:33:33 +09:00
Taro L. Saito 7134608206 Use SnappyNativeAPI as an interface to the native code 2011-06-27 10:29:58 +09:00
Taro L. Saito 06ba339352 Temporary use current class loader 2011-06-24 14:24:28 +09:00
Taro L. Saito 4a7694e295 Traverse ancestor class loader 2011-06-24 14:23:01 +09:00
Taro L. Saito b531cb36dc Add bytecode generator 2011-06-24 13:42:14 +09:00
Taro L. Saito d19a00ddb6 Revert to xerial-core-1.0.21 for compiling with JDK5 2011-06-24 13:26:21 +09:00
Taro L. Saito 2097c32314 Remove @Override annotation for Java5 compatibility 2011-06-24 13:07:25 +09:00
Taro L. Saito c884620c8f Add code to load snappyjava library in java.library.path 2011-06-24 13:03:39 +09:00
Taro L. Saito 244e2183b6 Edit documentation 2011-06-24 09:06:20 +09:00
Taro L. Saito 073ac31424 Remove 2011-06-23 22:37:17 +09:00