Re: weird semantics for the IR's create_interface



Dick Porter <dick acm org> writes:

> On Tue, Nov 28, 2000 at 05:54:18PM -0800, Mathieu Lacage wrote:
> > hi all, 
> > 
> > I have been playing with the Interface repository of ORBit lately.
> > I have fixed a few segfaults in my local copy and I will send a patch for
> > those later when I get something more useful working.
> 
> Excellent, the IR is -><- this close to being almost useful.
> 
> > 
> > However, I am getting in some weird bug: I want to create a top-level interface
> > with CORBA::Container::create_interface.
> > 
> > To do so, I passed a zero-length sequence as base_interfaces parameter.
> > 
> > It happens that the ORBit implementation is checking explicitely in its code
> > for either a zero-length sequence or a NULL sequence and if so, refuses
> > to create the interface....
> 
> If it's explicitly checking then there is a good chance that the IR spec
> demands this check. I don't have the spec in front of me to check though.

I do not think the spec says this: I have looked in it and could not really find
any description of the correct behaviour in that case.

> 
> > Mathieu
> 
> - Dick
> 
> 
> _______________________________________________
> orbit-list mailing list
> orbit-list gnome org
> http://mail.gnome.org/mailman/listinfo/orbit-list

-- 
Mathieu Lacage <mathieu eazel com>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]