Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4353556

serialization of org.omg.CORBA._IDLTypeStub is not documented

XMLWordPrintable

    • sparc
    • solaris_2.6



      Name: ooR10001 Date: 07/17/2000


      Serialization of org.omg.CORBA._IDLTypeStub is not documented.

      The javadoc says:

      Class org.omg.CORBA._IDLTypeStub implements Serializable

       Serialization Methods

      readObject

      private void readObject(ObjectInputStream s)

      writeObject

      private void writeObject(ObjectOutputStream s)
      --------------------------------------------------

      _IDLTypeStub.java contains:

        private void readObject (java.io.ObjectInputStream s)
        {
           try
           {
             String str = s.readUTF ();
             org.omg.CORBA.Object obj = org.omg.CORBA.ORB.init ().string_to_object (str);
             org.omg.CORBA.portable.Delegate delegate = ((org.omg.CORBA.portable.ObjectImpl) obj)._get_delegate ();
             _set_delegate (delegate);
           } catch (java.io.IOException e) {}
        }

        private void writeObject (java.io.ObjectOutputStream s)
        {
           try
           {
             String str = org.omg.CORBA.ORB.init ().object_to_string (this);
             s.writeUTF (str);
           } catch (java.io.IOException e) {}
        }
      --------------------------------------------------

      It is not clear what must be happening in fact.

      ======================================================================

            duke J. Duke
            oovsunw Oov Oov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: