commit | 175ab4e720266727f371e7f33381f2c6fecc5297 | [log] [tgz] |
---|---|---|
author | Jesse Rusak <me@jesserusak.com> | Tue Aug 29 11:00:23 2017 -0400 |
committer | Jesse Rusak <me@jesserusak.com> | Tue Aug 29 12:12:28 2017 -0400 |
tree | cc8ed9c16f916e248cca51be0a440d79f12cd18f | |
parent | dd3d04a2f2f2a05d5fc3bedac0a177e7caf6d1bd [diff] |
Avoid possible GC issues in Java example code This prevents the previously-set element value from being collected before or during the call to setElement. Since C++ could still have a reference to during that time, it could lead to misbehavior.