< prev index next >
test/java/rmi/activation/Activatable/downloadParameterClass/DownloadParameterClass.java
Print this page
*** 20,30 ****
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/* @test
! * @bug 4149366
* @summary The class loader used to load classes for parameter types sent in
* an RMI call to an activatable object should delegate to the class loader
* that loaded the class of the activatable object itself, to maximize the
* likelihood of type compatibility between downloaded parameter types and
* supertypes shared with the activatable object.
--- 20,30 ----
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
/* @test
! * @bug 4149366 8085192
* @summary The class loader used to load classes for parameter types sent in
* an RMI call to an activatable object should delegate to the class loader
* that loaded the class of the activatable object itself, to maximize the
* likelihood of type compatibility between downloaded parameter types and
* supertypes shared with the activatable object.
*** 87,99 ****
TestLibrary.suggestSecurityManager("java.rmi.RMISecurityManager");
RMID rmid = null;
try {
! RMID.removeLog();
! rmid = RMID.createRMID();
! rmid.start();
/* Cause activation groups to have a security policy that will
* allow security managers to be downloaded and installed
*/
Properties p = new Properties();
--- 87,97 ----
TestLibrary.suggestSecurityManager("java.rmi.RMISecurityManager");
RMID rmid = null;
try {
! rmid = RMID.launch();
/* Cause activation groups to have a security policy that will
* allow security managers to be downloaded and installed
*/
Properties p = new Properties();
< prev index next >