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

(spec) ActivatableServerRef could not be instantiated from RemoteObject

XMLWordPrintable

    • tiger
    • generic, sparc
    • generic, solaris_2.6



      Name: ooR10001 Date: 05/21/2001


      java.rmi.server.RemoteObject class use refClass.newInstance() call before
      deserialization of remote reference from the stream in readObject() method.
      But sun.rmi.server.ActivatableServerRef class has no no-arg constructor. It
      causes that instance of this class could not be instantiated in
      RemoteObject.readObject() method and InstantiationException is throw.
      Suggested fix may be add the no-arg constructor to
      sun.rmi.server.ActivatableServerRef class or add analysis for the name of the
      remote reference class and in case of 'ActivatableServerRef' appropriate
      constructor should be invoked.

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

            peterjones Peter Jones (Inactive)
            oovsunw Oov Oov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: