rocksdb/java/src
fyrz 5615e23d8c [RocksJava] 32-Bit adjustments
Summary:
Before this change overflowing size_t values led to a checked Exception.

After that change:

size_t overflows on 32-Bit architecture throw now an IllegalArgumentException,
which removes the necessity for a developer to catch these Exceptions explicitly.

This is especially an advantage for developers targeting 64-Bit systems because
it is not necessary anymore to catch exceptions which are never thrown on a 64-Bit
system.

Test Plan:
make clean jclean rocksdbjava jtest
mvn -f rocksjni.pom package

Reviewers: adamretter, yhchiang, ankgup87

Subscribers: dhruba

Differential Revision: https://reviews.facebook.net/D34923
2015-03-19 20:45:55 +01:00
..
main/java/org/rocksdb [RocksJava] 32-Bit adjustments 2015-03-19 20:45:55 +01:00
test/java/org/rocksdb Merge pull request #532 from fyrz/RocksJava-LevelCompactionDynamicLevelBytes 2015-03-19 12:51:40 +00:00