db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Myrna van Lunteren" <m.v.lunte...@gmail.com>
Subject Re: [jira] Commented: (DERBY-1832) sysinfo test fails with "access denied (java.util.PropertyPermission java.class.path read)" when derbyclient.jar is first in classpath
Date Sun, 10 Sep 2006 14:38:20 GMT
On 9/9/06, Knut Anders Hatlen (JIRA) <derby-dev@db.apache.org> 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

Mime
View raw message