harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Roman S. Bushmanov (JIRA)" <j...@apache.org>
Subject [jira] Created: (HARMONY-4362) [buildtest][func] Misconfiguration: policy file issues
Date Fri, 06 Jul 2007 08:10:04 GMT
[buildtest][func] Misconfiguration: policy file issues
------------------------------------------------------

                 Key: HARMONY-4362
                 URL: https://issues.apache.org/jira/browse/HARMONY-4362
             Project: Harmony
          Issue Type: Bug
          Components: build - test - ci
            Reporter: Roman S. Bushmanov


I. The tests
functional/org/apache/harmony/test/func/api/java/security/F_AccessControllerTest_01/F_AccessControllerTest_01.xml
functional/org/apache/harmony/test/func/api/java/security/F_AccessControllerTest_02/F_AccessControllerTest_02.xml
have the following configuration problems
1) misconfiguration: codebases in the corresponding policy file don't match real class files
locations. 
2) "grant codeBase" statements should contain slashes, do not use ${/} 
3) required permissions should be granted to th.jar

II. In the test 
functional/org/apache/harmony/test/func/api/java/lang/F_SecurityManagerTest_01/F_SecurityManagerTest_01.xml
the following problems should be fixed
1) required permissions should be granted to th.jar because Test.test() is in the call stack.

2) different URLs in the test and in the policy file - www.example.com and www.apache.org

III. The test
functional/org/apache/harmony/test/func/api/java/security/F_SecureClassLoaderTest_01/F_SecureClassLoaderTest_01.xml
has the configuration problem:
1) Codebase in the corresponding policy file does  not match the actual classes location.



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


Mime
View raw message