J. Duke | 319a3b9 | 2007-12-01 00:00:00 +0000 | [diff] [blame^] | 1 | // |
2 | // | ||||
3 | // | ||||
4 | // Used by unit tests for System.inheritedChannel() method. This policy | ||||
5 | // file allows a service to obtain the inherited channel and additionally | ||||
6 | // allows the service to report a test result over a socket connection. | ||||
7 | // | ||||
8 | grant { | ||||
9 | permission java.lang.RuntimePermission "inheritedChannel"; | ||||
10 | permission java.net.SocketPermission "*:1024-", "resolve,connect"; | ||||
11 | }; |