Fix proxy return ClassCastException and add test.

Add test for Bug: 8250775 that doesn't effect ART. Expand test case further.
ClassCastException has no constructor expecting a cause and so using this
creates a JNI failure. Switch to not using a wrapped exception as the wrapping
itself wasn't adding information.

Change-Id: I32dd541e1a1022089ec993fa4f4646042c5bf1fa
4 files changed
tree: b350413f9cccdac06730518a9ad2eb7ef8a6f083
  1. build/
  2. jdwpspy/
  3. src/
  4. test/
  5. tools/
  6. .gitignore
  7. Android.mk