2004-02-06 21:54:06 +00:00
|
|
|
// policies needed to run tests
|
|
|
|
grant // codebase "file:${user.dir}/icu4jtests.jar"
|
|
|
|
{
|
|
|
|
// temporary for debugging
|
|
|
|
// permission java.lang.RuntimePermission "getProtectionDomain";
|
2003-11-14 21:56:54 +00:00
|
|
|
|
2004-11-22 18:11:02 +00:00
|
|
|
// ibm 141 on ibm xp can't use reflection
|
|
|
|
permission java.lang.RuntimePermission "accessDeclaredMembers";
|
|
|
|
|
2003-11-14 21:56:54 +00:00
|
|
|
// needed for Locale.setDefault, only used in tests and demos
|
|
|
|
permission java.util.PropertyPermission "user.language", "write";
|
|
|
|
|
|
|
|
// needed for TestUtils
|
|
|
|
permission java.util.PropertyPermission "ICUDataPath", "read";
|
|
|
|
permission java.util.PropertyPermission "user.dir", "read";
|
2004-02-06 21:54:06 +00:00
|
|
|
|
|
|
|
// time zone tests
|
|
|
|
permission java.util.PropertyPermission "user.timezone", "read";
|
2003-11-14 21:56:54 +00:00
|
|
|
};
|
|
|
|
|