commit | aaa5edcf2deb1bddcbf5fb27820ad2240ac5b4f2 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed May 16 15:54:30 2012 -0700 |
committer | Elliott Hughes <enh@google.com> | Wed May 16 15:54:30 2012 -0700 |
tree | c2d0f408237ad5a30bfd67819e5c9a72cc3ac45e | |
parent | 983f2e411aee6b1d09e6da30e059b782b2699909 [diff] |
Improve reflection IllegalArgumentException detail messages. Also add a missing InstanceOf check that was causing CheckJNI to kill us if someone tried to pass an inappropriate reference type through Method.invoke. (Amusingly, CheckJNI produced pretty much the exact detail message that Method.invoke should have.) Plus a new test for this stuff. Bug: 6504175 Change-Id: Ice95eecbdba5a0927c6eaf68e56d6500dc52ad2e