--- a/jdk/src/share/classes/sun/rmi/registry/RegistryImpl.java Tue Aug 30 17:29:36 2011 -0700
+++ b/jdk/src/share/classes/sun/rmi/registry/RegistryImpl.java Wed Sep 21 15:37:52 2011 -0700
@@ -418,6 +418,8 @@
*/
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);
--- a/jdk/test/sun/tools/jstatd/jstatdExternalRegistry.sh Tue Aug 30 17:29:36 2011 -0700
+++ b/jdk/test/sun/tools/jstatd/jstatdExternalRegistry.sh Wed Sep 21 15:37:52 2011 -0700
@@ -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