提交 cd3689fd 编写于 作者: S smarks

7093490: adjust package access in rmiregistry

Reviewed-by: ahgross, coffeys, dmocek
上级 69508d02
......@@ -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"));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册