[ http://issues.apache.org/jira/browse/TUSCANY-562?page=comments#action_12451888 ] Geoff Winn commented on TUSCANY-562: ------------------------------------
You definitely have to throw an exception if someone tries to make a type its own parent. I don't see how a method called isBaseTypeOf will help. Can you explain a little more about how it would work? > Robustness of type inheritance > ------------------------------ > > Key: TUSCANY-562 > URL: http://issues.apache.org/jira/browse/TUSCANY-562 > Project: Tuscany > Issue Type: Bug > Components: C++ SDO > Affects Versions: Cpp-M1 > Reporter: Ed Slattery > Priority: Minor > Fix For: Cpp-current > > > You can define a type as its own parent. The heirarchy from the type upwards > should be checked and this should be thrown out - -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
