diff -r fd16c54261b3 -r 90ce3da70b43 jdk/test/sun/rmi/server/MarshalOutputStream/marshalForeignStub/security.policy --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/jdk/test/sun/rmi/server/MarshalOutputStream/marshalForeignStub/security.policy Sat Dec 01 00:00:00 2007 +0000 @@ -0,0 +1,19 @@ +/* + * security policy used by MarshalForeignStub test + */ + +grant codeBase "file:${java.home}/lib/ext/*" { + permission java.security.AllPermission; +}; + +grant { + + // used by TestLibrary to determine test environment + permission java.util.PropertyPermission "test.classes", "read"; + permission java.util.PropertyPermission "test.src", "read"; + permission java.util.PropertyPermission "user.dir", "read"; + permission java.util.PropertyPermission "java.home", "read"; + + // allow exporting of remote objects on an arbitrary port + permission java.net.SocketPermission "*:1024-", "connect,accept,listen"; +};