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.
======================================================================
- relates to
-
JDK-4943189 (spec) Activatable class should be marked as not serializable
-
- Resolved
-