test/jdk/java/nio/channels/spi/SelectorProvider/inheritedChannel/java.policy.pass
author erikj
Tue, 12 Sep 2017 19:03:39 +0200
changeset 47216 71c04702a3d5
parent 2 jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/java.policy.pass@90ce3da70b43
permissions -rw-r--r--
8187443: Forest Consolidation: Move files to unified layout Reviewed-by: darcy, ihse

//
//
// 
// 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";
};