On 5/25/2010 5:34 PM, Jayaram Subramanian wrote:
Hi
While working on Derby 4616 (SysinfoTest prints permission errors
when printing sysinfo ) I added the following to the SyInfoTest
policy file
permission java.util.PropertyPermission "user.dir", "read";
permission java.util.PropertyPermission "user.home", "read";
permission java.util.PropertyPermission "user.name", "read";
But still the sysinfo started printing error on "java.home" read ..
So i added permission java.util.PropertyPermission "java.home",read;
in the policy file.
I think the problem might be that there are missing double quotes
around 'read' in your new line.
The policy file won't parse so you have the terrible errors.