3789983e89
Reviewed-by: darcy, ihse
23 lines
708 B
Plaintext
23 lines
708 B
Plaintext
/*
|
|
* security policy used by the test process
|
|
*/
|
|
|
|
grant {
|
|
|
|
// permissions needed to move classes into separate codebase directories
|
|
permission java.io.FilePermission
|
|
"${test.src}${/}-", "read";
|
|
permission java.io.FilePermission
|
|
"${test.classes}${/}-", "read,write,delete";
|
|
permission java.io.FilePermission
|
|
".${/}-", "read,write,delete";
|
|
|
|
// used by TestLibrary to determine test environment
|
|
permission java.util.PropertyPermission "test.*", "read";
|
|
permission java.util.PropertyPermission "user.dir", "read";
|
|
permission java.util.PropertyPermission "java.home", "read";
|
|
|
|
permission java.util.PropertyPermission
|
|
"java.rmi.server.RMIClassLoaderSpi", "read,write";
|
|
};
|