ATT Labs

An archive of

AT&T Laboratories
Cambridge

hosted in
conjunction
with

Cambridge University Computer Laboratory

The Digital Technology Group

Home Page

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 omniorb@uk.research.att.com. We'd like to hear from you.

Contact information
Copyright © 2002 AT&T Laboratories Cambridge