Hello.

I found next exception happens with modification for java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy.

Exception in thread "main" java.security.AccessControlException: access denied (java.lang.RuntimePermission setIO) at java.security.AccessControlContext.checkPermission(AccessControlContext.java:269) at java.security.AccessController.checkPermission(AccessController.java:401)
   at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
   at java.lang.System.checkIO(System.java:175)
   at java.lang.System.setOut(System.java:145)
at org.apache.derbyTesting.functionTests.harness.RunTest.execTestNoProcess(RunTest.java:2552) at org.apache.derbyTesting.functionTests.harness.RunTest.testRun(RunTest.java:493) at org.apache.derbyTesting.functionTests.harness.RunTest.main(RunTest.java:352) at org.apache.derbyTesting.functionTests.harness.RunList.runTests(RunList.java:575) at org.apache.derbyTesting.functionTests.harness.RunList.runSuites(RunList.java:310) at org.apache.derbyTesting.functionTests.harness.RunList.<init>(RunList.java:164) at org.apache.derbyTesting.functionTests.harness.RunSuite.getSuitesList(RunSuite.java:208) at org.apache.derbyTesting.functionTests.harness.RunSuite.main(RunSuite.java:147)

Without modification for java/testing/org/apache/derbyTesting/functionTests/util/derby_tests.policy,
this exception did not happen.

It seems to be mistakenly removed in this patch ...

Well ...
I should wait for Andrew.
He would know the truth.


Best regards.


TomohitoNakayama wrote:

Hello.

I see ....

I tested the patch and found some problem, though not clear yet....
// It seems that phenomena that resembles DERBY-1334 seems to be happen with this patch ...

I will try to make it clear and wait for Andrew.

Best regards.

Myrna van Lunteren wrote:

On 5/27/06, Tomohito Nakayama (JIRA) <[email protected]> wrote:

[ http://issues.apache.org/jira/browse/DERBY-1346?page=comments#action_12413588 ]

Tomohito Nakayama commented on DERBY-1346:
------------------------------------------

I read the patch and found that
the patch adds unit/fillLog.policy and
modifies unit/build.xml to make unit/fillLog.policy to work .

However, I'm not sure why util/derby_tests.policy is modified...
It seems that some security configurations are removed



I thought Andrew had intended to remove this from derby_tests.policy
after he added the missing file from the check-in for
DERBY-892...(which caused the nist tests to fail). But he's on
vacation now, so unless another committer picks that up it'll have to
wait...

I'd like this now unnecessary bit to be removed, but if you don't feel
comfortable doing it, or feel it really should be handled in line with
DERBY-892 (which is true, of course) and not clutter up this check-in,
then only check in fillLog.policy, please.

Thx,
Myrna




--
/*

       Tomohito Nakayama
       [EMAIL PROTECTED]
       [EMAIL PROTECTED]
       [EMAIL PROTECTED]

       Naka
       http://www5.ocn.ne.jp/~tomohito/TopPage.html

*/

Reply via email to