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

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

    XMLWordPrintable

    Details

    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_2.6

      Description



      Name: ooR10001 Date: 07/17/2000


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

      The javadoc says:

      Class org.omg.CORBA._PolicyStub implements Serializable

       Serialization Methods

      readObject

      private void readObject(ObjectInputStream s)

      writeObject

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

      _PolicyStub.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.

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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: