Community
Participate
Working Groups
Build Identifier: 3.5.2 When running the eclipse tests from command line two times one after the other, the second time an AccessControlException is thrown. However, if the equinox bundle repository is deleted before the second execution, the tests run successfully. It seems as if the problem is in the CompositeSecurityTests class - in it method testLinkSecurity01() a composite bundle is created and installed, but is not uninstalled. If the test is patched so that it uninstalls the composite bundle, then no exception is thrown and the tests are executed without deleting the bundles repository. Reproducible: Always Steps to Reproduce: 1. Run the eclipse tests from command line 2. Run the tests for the second time 3. Observe the AccessControlException (stack trace attached)
Created attachment 165773 [details] Stacktrace of the AccessControlException
Created attachment 165775 [details] Proposed patch The patch adds to the end of CompositeSecurityTests.testLinkSecurity01() uninstallation of the test bundle.
Thanks patch released.