commit | 5d4bdc29737a693027daaf6ed3f0792368eb4bae | [log] [tgz] |
---|---|---|
author | Ian Rogers <irogers@google.com> | Wed Nov 02 22:15:43 2011 -0700 |
committer | Ian Rogers <irogers@google.com> | Wed Nov 02 22:56:53 2011 -0700 |
tree | 6f1e9e59c2899488ab018d5cd8279641041f7634 | |
parent | 5e863ddd72a70d33525f7403a695f7bc1c218938 [diff] |
Various runtime/JNI related fixes. NewObject returns NULL if exception is thrown in constructor. Allocate the peer then call constructor to ensure peer_ field is initialized. Change thread state for AddFinalizer and pass current thread through for ease. Change-Id: Ib578b6d44b08aef10fde5d8bc27cc6a2acbf6fae