Bug Report no. 59

attlogo6876_dk.gif (2280 bytes)

sideHome.gif (2321 bytes) sideDownload.gif (2450 bytes) sideDocumentation.gif (2512 bytes) sideFAQ.gif (2344 bytes) sidePatch.gif (2543 bytes) sideSearch.gif (2403 bytes)

Reported By

David Evers

Date

7 Dec 1999

Platforms

All

Version

omniORB 2.8 and earlier

Description

omniidl2 produces an incorrect TypeCode for a sequence of object references, when the sequence type is defined in the body of that interface definition.

For example, the following generates incorrect code:

    // IDL
    interface foo {
      typedef sequence seq;
    };

As a result any code parsing the TypeCode (foo::_tc_seq in this case) will fail. This includes inserting values of this type into an Any.

Patch

Apply this patch, or update from the CVS server.

The patch changes:

  • src/tool/omniidl2/omniORB2_be/o2be_sequence.cc
 

For comments, feedback, etc, please see the 'Keeping in touch' page.
Copyright 1999 - AT&T Laboratories Cambridge