search for: testexcept

Displaying 4 results from an estimated 4 matches for "testexcept".

Did you mean: test_except
2011 Mar 09
0
java+R+serverEval failed+request status: control pipe to master process is closed/broken
...contamination from previous tests c.serverEval("xXx<-'" + key + "'"); c.close(); c = new RConnection(); REXP x = c.eval("xXx"); if (x == null || !x.isString() || x.length() != 1 || !x.asString().equals(key)) throw new TestException("control eval test failed - assignment was not persistent"); c.serverEval("rm(xXx)"); // remove the test variable to not pollute the global workspace System.out.println(" server shutdown"); c.serverShutdown(); c.close(); Syste...
2010 Dec 02
0
[LLVMdev] Alternative exception handling proposal
...e (on Darwin at least). It will crash libunwind because it was doing horrible things: #import <Foundation/Foundation.h> int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; @try { @throw [NSException exceptionWithName:@"TestException" reason:@"Test" userInfo:nil]; } @catch (NSException *e) { @throw e; } [pool drain]; return 0; } -bw -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/2010120...
2010 Dec 03
1
[LLVMdev] Alternative exception handling proposal
.... It will crash libunwind because it was doing horrible things: > > #import <Foundation/Foundation.h> > > int main (int argc, const char * argv[]) { > NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; > > @try { > @throw [NSException exceptionWithName:@"TestException" reason:@"Test" userInfo:nil]; > } > @catch (NSException *e) { > @throw e; > } > > > [pool drain]; > return 0; > } I was unable to compile this (I don't have Foundation). However as my scheme generates identical unwind tables to gcc (this is the wh...
2010 Dec 02
3
[LLVMdev] Alternative exception handling proposal
Hi Bill, > This is similar to my first proposal. yup, I still consider your first proposal to have been basically sound. But it also suffers from a major problem, > which stopped that proposal dead in its tracks. Namely, you have information in > one place which needs to be shared in two different, but possibly disjoint, > places: the type, filters, and personality information. In