CORBA 2.3 NO IDEA Avatar
  1. OMG Issue

CORBA23 — Which OBV initialiser to run is under-specified

  • Key: CORBA23-16
  • Legacy Issue Number: 1981
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: Detail: The 2.3 draft says:

    There may be any number of init declarations, as long as the signatures
    of all the initializers declared within the same scope are unique.

    To me, this implies that initialiser selection is done by matching the actual call parameter types against the formal parameter types in all the initialisers, and choosing the one that applies. However (a) this isn"t said explicitly and (b) if it is the intention, it"s fairly easy to construct a case where no one initialiser is more applicable than any other. Assuming initialiser parameters are allowed to be interface types (it doesn"t say they aren"t), consider a declaration of two initialisers in the same scope with parameter interfaces A and B, then calling the initialiser with a parameter of C, an interface that inherits from both A and B. It is impossible to say that one initialiser is more or less applicable than the other. The specification should make clear what choice a compliant ORB should make.

  • Reported: CORBA 2.2 — Sun, 20 Sep 1998 04:00 GMT
  • Disposition: Resolved — CORBA 2.3
  • Disposition Summary:

    Incorporate changes in 2.4 and close issue

  • Updated: Fri, 6 Mar 2015 20:58 GMT