1// 2// Used by unit tests for System.inheritedChannel() method. This policy 3// file allows doesn't grant the service the runtime permission needed 4// to obtain the inherited channel but does grant the socket permission 5// needed to report a test result over a socket connection. 6// 7grant { 8 permission java.net.SocketPermission "*:1024-", "resolve,connect"; 9 permission java.io.FilePermission "${test.classes}${/}statetest.txt", "read,write"; 10 permission java.util.PropertyPermission "test.classes", "read"; 11}; 12