7093490: adjust package access in rmiregistry
Reviewed-by: ahgross, coffeys, dmocek
This commit is contained in:
parent
d87e57ac8a
commit
63cf10e500
@ -405,7 +405,8 @@ public class RegistryImpl extends java.rmi.server.RemoteServer
|
||||
*/
|
||||
perms.add(new SocketPermission("*", "connect,accept"));
|
||||
|
||||
perms.add(new RuntimePermission("accessClassInPackage.sun.*"));
|
||||
perms.add(new RuntimePermission("accessClassInPackage.sun.jvmstat.*"));
|
||||
perms.add(new RuntimePermission("accessClassInPackage.sun.jvm.hotspot.*"));
|
||||
|
||||
perms.add(new FilePermission("<<ALL FILES>>", "read"));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user