7092186: adjust package access in rmiregistry
Reviewed-by: asaha, coffeys
This commit is contained in:
parent
97583c8f0d
commit
6f12fe9039
@ -418,6 +418,8 @@ public class RegistryImpl extends java.rmi.server.RemoteServer
|
||||
*/
|
||||
perms.add(new SocketPermission("*", "connect,accept"));
|
||||
|
||||
perms.add(new RuntimePermission("accessClassInPackage.sun.*"));
|
||||
|
||||
// add permissions required to load from codebase URL path
|
||||
LoaderHandler.addPermissionsForURLs(urls, perms, false);
|
||||
|
||||
|
@ -22,7 +22,7 @@
|
||||
#
|
||||
|
||||
# @test
|
||||
# @bug 4990825
|
||||
# @bug 4990825 7092186
|
||||
# @run shell/timeout=90 jstatdExternalRegistry.sh
|
||||
# @summary Test functionality of 'jstatd -p<port>&' with an external RMI registry
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user