Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

org.osgi.test.cases.framework.launch.secure is not correct #2993

Open
bjhargrave opened this issue Oct 11, 2019 · 3 comments
Open

org.osgi.test.cases.framework.launch.secure is not correct #2993

bjhargrave opened this issue Oct 11, 2019 · 3 comments
Assignees

Comments

@bjhargrave
Copy link
Member

Original bug ID: BZ#3125
From: Georgi Boyvalenkov <georgi.boyvalenkov@bosch-si.com>
Reported version: R6

@bjhargrave
Copy link
Member Author

Comment author: Georgi Boyvalenkov <georgi.boyvalenkov@bosch-si.com>

testFrameworkExtensionInvokerPermission fails, because bundle fragments.tb16a bundle cannot be started as expected. The reason is that this test bundle installs another test bundle on activation - fragments.tb16b and expects AccessControlException by catching it.

Actually the more generic SecurityException is thrown as described by spec.

@bjhargrave
Copy link
Member Author

Comment author: @tjwatson

(In reply to Georgi Boyvalenkov from comment BZ#0)

testFrameworkExtensionInvokerPermission fails, because bundle
fragments.tb16a bundle cannot be started as expected. The reason is that
this test bundle installs another test bundle on activation -
fragments.tb16b and expects AccessControlException by catching it.

Actually the more generic SecurityException is thrown as described by spec.

I agree, that is strange for the test to cache the AccessControlException instead of the general SecurityException.

@bjhargrave
Copy link
Member Author

Comment author: @bjhargrave

CPEG call: Anjum, can you please fix?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants