commit | 025c5de6aab0719c77a19d62b2df80291ec225e6 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jan 10 11:05:48 2012 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Jan 10 11:05:48 2012 -0800 |
tree | dd3d0a8e10738aae7cf06d530cb20d054eac1e0e | |
parent | a68a1cb0769d618331d65a94d1a9cde68fcbb5ea [diff] |
Avoid a benign race where the exception message might be misleading. Report the type of the object that failed the type check, without assuming that the array hasn't been mutated since. Change-Id: I57cd5057ded3ea994c46aa1aabca62299dd5e7b7