I2JAV 1.1 NO IDEA Avatar
  1. OMG Issue

I2JAV11 — section 1.18.2 of the OMG IDL mapping document ptc/00-01-08

  • Key: I2JAV11-141
  • Legacy Issue Number: 4804
  • Status: closed  
  • Source: Anonymous
  • Summary:

    There is something that is unclear in your CORBA spec that I think is causing incompatibility problems between various IDL compilers.

    Given the following IDL:

    ------------------------------------------------- struct Protection

    { string str; }

    ;

    typedef Protection ProtectedEntity;

    typedef sequence<ProtectedEntity> ProtectedEntityList;

    typedef ProtectedEntityList ProtectingEntity; -------------------------------------------------

    Should a holder class for ProtectingEntity get generated? I ask this because some IDL compilers generate it and others do not (very frustrating!).

    In section 1.18.2 of the OMG IDL mapping document ptc/00-01-08 spec I found this: "Holder classes are generated for sequence and array typedefs only. The "unwound" type's Holder class is used for the other cases.".

    Since this is a typedef of a typedef, but the original item was a sequence, should the ProtectingEntityHolder.java file get generated or not?

  • Reported: I2JAV 1.0 — Mon, 14 Jan 2002 05:00 GMT
  • Disposition: Resolved — I2JAV 1.1
  • Disposition Summary:

    duplicate of 4802

  • Updated: Fri, 6 Mar 2015 21:38 GMT