You can't call initCause on a ClassNotFoundException.

Unlike NoClassDefFoundError, ClassNotFoundException has to be constructed
with a cause, or it will stupidly set a null cause which can't then be

This patch also fixes incorrect caching of jclass local references in statics,
which I noticed while fixing the test I'd broken.

Change-Id: I017f4a4e4158554427ccb37b650c985add28980c
5 files changed
tree: f21b0a3c2418540c9c65914b6029a881ecae0747
  2. build/
  3. jdwpspy/
  4. src/
  5. test/
  6. tools/