ATT Labs

AT&T Laboratories
Cambridge

Home page About Us Interactive research Software Opportunities

omnithread update

Report number 30

Reported by Graydon Hoare

Date 24 Aug 1998

Platforms All platforms

Version omniORB_2.5.0

Description

Bug in LifeCycle support. The following causes a run-time error when omniidl2 is invoked with the -l option:
// IDL:
interface foo {
  ...
};
interface bar : foo {
  ...
};


// C++:
class foo_i : public virtual _lc_sk_foo {
  ...
};
class bar_i : public virtual _lc_sk_bar, public virtual foo_i {
  ...
}

// Inside a factory:
  bar_i *bi = // New object of class bar_i;
  bi->_obj_is_ready(boa);

  foo_i *fi = bi;

  CORBA::Object_var obj = fi->_this();  // ERROR -- returns nil



Patch



Action

[ omniORB main page| Technical details| Performance measurements|
Documentation| Download a free distribution]

If you need more information, contact [email protected]. We'd like to hear from you.

For comments, suggestions and further information please contact us.
Copyright © 2001 AT&T Laboratories Cambridge