8016036: RMI specification needs to be updated to allow Activation on remote hosts
Stephen Flores
stephen.flores at oracle.com
Thu Jul 11 04:15:02 UTC 2013
Bob, Sean,
Please review this webrev
http://cr.openjdk.java.net/~sflores/8016036/webrev.00/
for RFE/CCC: 8016036 RMI specification needs to be updated to allow
Activation on remote hosts
A DESCRIPTION OF THE PROBLEM:
A compact2 (client profile) JRE includes
java.rmi.activation.ActivationSystem
but not rmid and some mobile platforms cannot run rmid, this
causes a problem when running the JCK, since it and rmid assume
activation requests to be from the same platform.
Evaluation:
To avoid creating a special RMI test server in a closed workspace,
rmid should be changed allow the tester specify which remote client
can access activation interface. This will allow the tester to run
rmid on a server running the full JRE instead of the compact2 client.
To avoid changing the JCK, the JRE should be changed so that the
tester can specify what the default activation host is.
Description of fix:
Change rmid to allow activation requests from a remote client
specified in a system property instead of the local host.
Change java.rmi.activation.ActivationGroup.getSystem to use
a system property for the host (with a default of empty) when
looking up the activation system.
Thanks,
Steve.
More information about the core-libs-dev
mailing list