Re: weird semantics for the IR's create_interface



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.

> Mathieu

- Dick





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