test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/java.policy.pass
author prr
Fri, 25 May 2018 12:12:24 -0700
changeset 50347 b2f046ae8eb6
parent 47216 71c04702a3d5
permissions -rw-r--r--
Merge

//
//
// 
// Used by unit tests for System.inheritedChannel() method. This policy
// file allows a service to obtain the inherited channel and additionally
// allows the service to report a test result over a socket connection.
//
grant {
    permission java.lang.RuntimePermission "inheritedChannel";
    permission java.net.SocketPermission "*:1024-", "resolve,connect";
};