зеркало из https://github.com/mozilla/gecko-dev.git
77f519f3bc
Patch for wrapping unchecked exceptions from Java method invocations Recently we had a problem with a NPE occurring in a Java method - it wasn't wrapped into WrappedException and subsequently we did not see the interpreter script stack traces. This is because unchecked throwables aren't wrapped into InvocationTargetException. I changed the relevant code in MemberBox.java to wrap all exceptions (checked and unchecked) into WrappedException. BTW, this is now consistent with how JavaMembers.get() and JavaMembers.put() work - they also wrap all exceptions into WrappedException, not just InvocationTargetException. |
||
---|---|---|
.. | ||
benchmarks | ||
docs | ||
jsd | ||
jsdj | ||
jsj | ||
narcissus | ||
perf | ||
ref | ||
rhino | ||
src | ||
tests | ||
.cvsignore | ||
Makefile.in | ||
landbranch.pl | ||
makefile.win |