weme 6.1 tests fail with Parsing policy file: jar:file...  derby_tests.policy, 
found unexpected: permission
-----------------------------------------------------------------------------------------------------------

                 Key: DERBY-3483
                 URL: https://issues.apache.org/jira/browse/DERBY-3483
             Project: Derby
          Issue Type: Bug
          Components: Regression Test Failure, Security
    Affects Versions: 10.4.0.0
            Reporter: Kathey Marsden


Most of the J2ME tests failed with security permissions due to problems parsing 
the policy file. e.g. 

+ c:/p4/marsden_trunk/weme6.1/bin/j9 -jcl:foun11 
-DderbyTesting.serverhost=localhost -DderbyTesting.clienthost=localhost
 -Xbootclasspath/a:c:/p4/marsden_trunk/weme6.1/lib/jdbc.jar 
-Dbootcp=c:/p4/marsden_trunk/weme6.1/lib/jdbc.jar junit.text
ui.TestRunner org.apache.derbyTesting.functionTests.tests.lang.SimpleTest
Parsing policy file: 
jar:file:/C:/svn3/trunk/jars/sane/derbyTesting.jar!/org/apache/derbyTesting/functionTests/util/derb
y_tests.policy, found unexpected: permission
Could not create and run test suite: java.security.AccessControlException: 
Access denied (java.security.SecurityPermissi
on getPolicy )

This was caused by the following checkin.  It is not clear yet which permission 
is causing the problem.

r632125 | djd | 2008-02-28 13:43:25 -0800 (Thu, 28 Feb 2008) | 5 lines

DERBY-3445 Adds ant targets to run the junit-all tests with EMMA code coverage.
Fixes some permission issues in tests when running coverage with EMMA.
DERBY-3153 Allows the junit-all tests to be run with ant 1.7


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to