commit | 844f9a072454eb9dca1022299b6bf99ef4294008 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jan 24 20:19:58 2012 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Jan 24 20:19:58 2012 -0800 |
tree | f21b0a3c2418540c9c65914b6029a881ecae0747 | |
parent | e8f3212ff9d47dbe368ea7f2e243b5e9e8680620 [diff] |
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 changed. 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