7093490: adjust package access in rmiregistry
Reviewed-by: ahgross, coffeys, dmocek
--- a/jdk/src/share/classes/sun/rmi/registry/RegistryImpl.java Mon Jun 18 10:00:55 2012 -0400
+++ b/jdk/src/share/classes/sun/rmi/registry/RegistryImpl.java Thu Jun 21 00:20:49 2012 -0700
@@ -405,7 +405,8 @@
*/
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"));