On 9/9/06, Knut Anders Hatlen (JIRA) <[email protected]> wrote:
   [ 
http://issues.apache.org/jira/browse/DERBY-1832?page=comments#action_12433648 ]

Knut Anders Hatlen commented on DERBY-1832:
-------------------------------------------

There are two ways to grant derbyclient.jar more access (it needs 
java.util.PropertyPermission and java.io.FilePermission):

a) Adding the permissions in derby_tests.policy.
b) Adding the permissions to sysinfo.policy and sysinfo_withproperties.policy.

Which of them is the best way? All of these files currently contain 
sysinfo-specific permissions, so I'm not sure which to choose.

Thanks.


I don't know if this helps, but if I remember correctly, the 'sysinfo'
permissions left in derby_tests.policy are there because someone still
got an error after I put in the harness code for test-specific
properties and tried to move them to sysinfo*.policy files.
I could never duplicate it that problem, nor understand it.
The best place for sysinfo specific permissions would be in the
sysinfo*.policy files, I think.

Myrna

Reply via email to