Revision 5615e23d8c5fb3a653b98dcc76ff0ab80a585d3a authored by fyrz on 12 March 2015, 21:25:57 UTC, committed by fyrz on 19 March 2015, 19:45:55 UTC
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
1 parent 836bcc2
History
File Mode Size
build_tools
coverage
db
doc
examples
hdfs
include
java
linters
port
table
third-party
tools
util
utilities
.arcconfig -rw-r--r-- 446 bytes
.clang-format -rw-r--r-- 138 bytes
.gitignore -rw-r--r-- 489 bytes
.travis.yml -rw-r--r-- 1.0 KB
AUTHORS -rw-r--r-- 247 bytes
CONTRIBUTING.md -rw-r--r-- 733 bytes
HISTORY.md -rw-r--r-- 16.2 KB
INSTALL.md -rw-r--r-- 3.3 KB
LICENSE -rw-r--r-- 1.6 KB
Makefile -rw-r--r-- 26.3 KB
PATENTS -rw-r--r-- 1.4 KB
README.md -rw-r--r-- 1.2 KB
ROCKSDB_LITE.md -rw-r--r-- 1020 bytes
Vagrantfile -rw-r--r-- 862 bytes
src.mk -rw-r--r-- 15.2 KB

README.md

back to top