-
Notifications
You must be signed in to change notification settings - Fork 18
/
.java.policy
25 lines (24 loc) · 1.23 KB
/
.java.policy
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
grant {
permission java.net.SocketPermission "*", "connect, accept";
permission java.util.PropertyPermission "*", "read";
permission java.util.PropertyPermission "*", "write";
permission java.lang.RuntimePermission "getenv.CLASSPATH";
permission java.lang.RuntimePermission "getenv.SOURCEPATH";
permission java.io.FilePermission ".", "read";
permission java.io.FilePermission "*", "read";
permission java.io.FilePermission "/opt/jdk1.7.0_40/jre/-", "read";
permission java.io.FilePermission "/usr/java/packages/lib/-", "read";
permission java.io.FilePermission "misc/-", "read";
permission java.lang.RuntimePermission "createClassLoader";
permission java.lang.RuntimePermission "setContextClassLoader";
permission java.lang.RuntimePermission "getenv.*";
permission java.lang.PropertyPermission "*", "read";
// capture the output
permission java.lang.RuntimePermission "setIO";
// ScalaCheck
permission java.lang.RuntimePermission "accessClassInPackage.sun.misc";
permission java.lang.RuntimePermission "accessDeclaredMembers";
permission java.lang.reflect.ReflectPermission "suppressAccessChecks";
// JRuby
permission java.lang.RuntimePermission "getProtectionDomain";
};