jdk/test/sun/rmi/server/MarshalOutputStream/marshalForeignStub/security.policy
author shade
Thu, 02 Oct 2014 17:13:31 +0400
changeset 27003 19617f4c9dd0
parent 25408 27563093d2d2
permissions -rw-r--r--
8059595: Verifier::verify is wasting time before is_eligible_for_verification check Summary: Do the check earlier. Reviewed-by: hseigel, kamg

/*
 * security policy used by MarshalForeignStub test
 */

grant {

    // used by TestLibrary to determine test environment
    permission java.util.PropertyPermission "test.*", "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";
};