On Wed, 2007-10-03 at 07:24 +0200, Sebastian Bergmann wrote: > Stanislav Malyshev schrieb: > > Thanks, will look at these. I'm extremely uncomfortable with engine > > change that would allow "new Foo" produce an object that is not Foo. > > The restriction > > "A class may only pose as one of its direct or indirect superclasses." > > I mentioned ensures that "new Foo" can only produce objects that are in > an is_a relationship with Foo.
That will conflict with your previous statement, that one can "override" final classes. And it will cause serious trouble with anything marked private in the original class. Or won't it? CYA Arne -- Those who do not understand Unix are condemned to reinvent it, poorly (Henry Spencer)
signature.asc
Description: This is a digitally signed message part