[
https://issues.apache.org/jira/browse/CELIX-58?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13670149#comment-13670149
]
Mike van Dongen commented on CELIX-58:
--------------------------------------
Can you explain when you "expect" an unset or incorrect state?
> BUNDLE_STATE doesn't have an UNKNOWN state
> ------------------------------------------
>
> Key: CELIX-58
> URL: https://issues.apache.org/jira/browse/CELIX-58
> Project: Celix
> Issue Type: Bug
> Reporter: Alexander Broekhuis
> Attachments: bundle.h
>
>
> The bundle_state enum doesn't have an unknown state, this makes it difficult
> and ambiguous to check against unset or incorrect states.
> To solve this a BUNDLE_UNKNOWN state can be added (with 0 as value).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira