db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject Re: Derby 4616-Error when working SysinfoTest.policy files
Date Wed, 26 May 2010 00:43:58 GMT
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.



Mime
View raw message