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

Serial form for ActivationID referred to undocumented class

XMLWordPrintable

    • sparc
    • solaris_2.6



      Name: ooR10001 Date: 05/08/2001


      Serial Form Specification for java.rmi.activation.ActivationID class contain a
      reference to class RemoteProxy which is undocumented. It is impossible to write
      correct JCK serialized test for this class. Please, correct the specification so
      that it would not have references to non-public class.

      Serial Form specification says:
      -----------------------------------
      Class java.rmi.activation.ActivationID implements Serializable


       Serialization Methods


      readObject

      private void readObject(ObjectInputStream in)
                       throws IOException,
                              ClassNotFoundException

            readObject for object serialization. Reads in a java.rmi.server.UID and
            a remote reference. The remote reference is read via a direct call to
            readExternal(ObjectInputStream in). Default serialization is not used.
            The reference is used to create the activator field in this object.
            That is, the activator field is set to the stub returned from
            RemoteProxy.getStub(activatorClassName, ref).
            ^^^^^^^^^^^
      -----------------------------------

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

            shommel Scott Hommel (Inactive)
            oovsunw Oov Oov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: