commit | 72d61fba8ad3d3c720e6df61c7ae07baa4fd7838 | [log] [tgz] |
---|---|---|
author | Andy McFadden <fadden@android.com> | Wed Jun 24 16:56:06 2009 -0700 |
committer | Andy McFadden <fadden@android.com> | Wed Jun 24 16:56:06 2009 -0700 |
tree | a3aac49a8569433d87dc66bfd6227f61ccc2c53c | |
parent | cda8f8abd1d02f5ab58add1ebb23f20fdab6341c [diff] |
Check for failure in GetDirectBufferAddress. We now check for a null result or a pending exception in the JNI GetDirectBufferAddress function. This prevents a VM crash when somebody tries to get the address of a non-direct buffer. For internal bug 1926596.