JAV2I 1.2 NO IDEA Avatar
  1. OMG Issue

JAV2I12 — Need read_Value(clz) on InputStream

  • Key: JAV2I12-89
  • Legacy Issue Number: 2484
  • Status: closed  
  • Source: Anonymous
  • Summary:

    Summary: It is possible for an RMI/IDL value class to contain an IDLEntity type
    that was mapped from an IDL valuetype. In this case, the GIOP
    encoding of the IDLEntity type sent by an IDL/Java or C++ application
    to an RMI-IIOP appplication may not contain type information (if the
    actual type is the same as the declared type).

    In order to allow the ValueHandler to demarshal these IDLEntity types,
    an additional API call such as read_Value(Class clz) in needed on the
    org.omg.CORBA.portable.InputStream class. This allows the ValueHandler
    to pass the expected class (which it knows) to the InputStream.

    For symmetry, a write_Value(java.io.Serializable obj, Class clz) method
    should be added to org.omg.CORBA.portable.OutputStream. This would
    allow RMI-IIOP marshalling to use the same optimized encoding for this
    case as is possible for C++ and IDL/Java.

  • Reported: JAV2I 1.0 — Mon, 22 Feb 1999 05:00 GMT
  • Disposition: Resolved — JAV2I 1.1
  • Disposition Summary:

    Closed, accepted

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