CORBA 2.3 NO IDEA Avatar
  1. OMG Issue

CORBA23 — Clarifications needed in section 5.2.2

  • Key: CORBA23-53
  • Legacy Issue Number: 2332
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: In section 5.2.2 it states in the second paragraph that instances of
    valuetypes passed into valuetype methods are passed by reference (in a
    programming language sense). That"s fine, but:

    1. This paragraph should also state that returned results are passed
    by reference. This is necessary to ensure consistent IDL
    valuetype semantics across different implementation languages.

    2. The last sentence of the following paragraph is confusing because
    it appears to contradict the statement in the second paragraph
    about reference semantics. It says that "normal semantics for the
    programming language in question apply". So if I have a language
    that only does pass-by-value, pass-by-value semantics would apply
    (so this says). This cannot be correct, since it would prevent
    valuetypes from having well-defined semantics at the IDL level.

  • Reported: CORBA 2.2 — Thu, 21 Jan 1999 05:00 GMT
  • Disposition: Resolved — CORBA 2.3
  • Disposition Summary:

    Fix it.

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