I2JAV 1.2 NO IDEA Avatar
  1. OMG Issue

I2JAV12 — Should a holder class for ProtectingEntity get generated

  • Key: I2JAV12-11
  • Legacy Issue Number: 4802
  • 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.1 — Wed, 9 Jan 2002 05:00 GMT
  • Disposition: Resolved — I2JAV 1.2
  • Disposition Summary:

    Incorporate change and close issue

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