Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
MockBundle.getVersion() is not implemented and always throws an UnsupportedOperationException. This can be trivially be implemented with a getter and a setter. For a default value, we can use Version.emptyVersion, as indicated in the javadoc
If this bundle does not have a specified version then {@link Version#emptyVersion} is returned.
Attachments
Issue Links
- is duplicated by
-
SLING-11231 [osgi-mocks] Support setting a version for MockBundles
- Resolved
- links to