[
https://issues.apache.org/jira/browse/MAILBOX-109?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Norman Maurer resolved MAILBOX-109.
-----------------------------------
Resolution: Fixed
done by return a new instance of Flags every time when getPermanentFlags is
called
> StoreMessageManager.getMetaData(..) returns MetaData which contains a
> reference to a static Flags instace
> ----------------------------------------------------------------------------------------------------------
>
> Key: MAILBOX-109
> URL: https://issues.apache.org/jira/browse/MAILBOX-109
> Project: James Mailbox
> Issue Type: Bug
> Components: store
> Affects Versions: 0.3
> Reporter: Norman Maurer
> Assignee: Norman Maurer
> Fix For: 0.4
>
>
> StoreMessageManager.getMetaData(..) returns MetaData which contains a
> reference to a static Flags instance. So if someone use directly use the
> returned Flags instance and add other Flags to it they will stay in the
> static instance till the jvm is restarted. We should make sure to on expose
> any static instances in a writeable manner
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]