From: Mikio T. <mik...@gm...> - 2012-07-18 09:42:27
|
I changed assert codegen to throw x10.lang.AssertionError instead of java.lang.AssertionError in r24108 (trunk) and r24109 (java-interop-exceptions branch). -- Mikio 2012/7/18 Mikio Takeuchi <mik...@gm...>: > I got rid of x.l.RuntimeException in r24107. > I will also take care of the change of Java codegen for assertions. > -- Mikio > > 2012/7/18 David Cunningham <dc...@us...>: >> Time is tight, but we can punt some of this stuff. >> >> >> These must be done before the release: >> >> Syntax change: >> @Throws -> throws >> (few days of work in the type system and parser) >> >> Hierarchy change: >> Add CheckedThrowable. >> Implement in java by @NativeRep throwable. Put x.l.T under it. Make >> appropriate changes to c++ native code. >> Put x.l.Error under x.l.CheckedThrowable. >> Type system modifications (can throw checked throwable, etc) >> Maybe get rid of x.l.Exception? >> Definitely get rid of x.l.RuntimeException >> (probably a couple of weeks work here) >> >> Make XRX transparently propagate Error properly through async/finish >> Make XRX transparently propagate CheckedThrowable through at (complex >> implementation, described in previous email) >> (a few days to a week) >> >> >> If we do not do the following before the release, we can write them up as >> limitations (i.e. don't write code that requires the correct behaviour) >> >> Disable exception wrapping in managed backend. >> NativeRep exceptions to java equivalents. >> x.l.Throwable, NPE, ClassCast, ArrayBounds, StringBounds, >> Change assert codegen to throw x10.lang.AssertionError instead of >> java.lang.AssertionError >> (probably less than a week) >> >> Fix printStackTrace and related functions to rewrite to x10 exception names. >> (should only take a couple of days) >> >> >> >> ------------------------------------------------------------------------------ >> Live Security Virtual Conference >> Exclusive live event will cover all the ways today's security and >> threat landscape has changed and how IT managers can respond. Discussions >> will include endpoint security, mobile security and the latest in malware >> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >> _______________________________________________ >> X10-core mailing list >> X10...@li... >> https://lists.sourceforge.net/lists/listinfo/x10-core >> |