aboutsummaryrefslogtreecommitdiff
path: root/java/core
diff options
context:
space:
mode:
authorAsim Shankar <asimshankar@gmail.com>2018-06-07 09:24:42 -0700
committerAsim Shankar <asimshankar@gmail.com>2018-06-07 09:24:42 -0700
commit2020e3d5eed3029287afb6002266131d87f881e8 (patch)
treedb25a99aa69868313075ce450eb761b8c5ef181f /java/core
parent0456e269ee6505766474aa8d7b8bba7ac047f457 (diff)
downloadprotobuf-2020e3d5eed3029287afb6002266131d87f881e8.tar.gz
protobuf-2020e3d5eed3029287afb6002266131d87f881e8.tar.bz2
protobuf-2020e3d5eed3029287afb6002266131d87f881e8.zip
Graceful failure in SerializeToArray().
See https://github.com/tensorflow/tensorflow/issues/19657 for motivation. But long story short, without this change: m.SerializeToArray(buffer, m.ByteSizeLong()); would result in a CHECK failure if m.ByteSizeLong() returned a value >2GB.
Diffstat (limited to 'java/core')
0 files changed, 0 insertions, 0 deletions