Status: New
Owner: ----
Labels: Type-Bug Priority-Medium
New issue 1157 by [email protected]: try {} finally {} prevents
v8::TryCatch from catching exception.
http://code.google.com/p/v8/issues/detail?id=1157
executing the following piece of code in the shell:
function foo () {
try {
print('try');
throw new Error('a');
} finally {
print('finally');
}
}
foo();
produces:
$ ./shell_g test1.js
try
finally
<string conversion failed>
<string conversion failed> comes from ToCString which got a Utf8Value
containing NULL from ReportException. try_catch->Exception() returns an
empty handle, HasCaught() is false.
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev