[ https://issues.apache.org/jira/browse/ABDERA-190?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Nathan Beyer updated ABDERA-190: -------------------------------- Attachment: ABDERA-190.patch > [core] serialization and concurrency updates to AbstractListParseFilter and > AbstractParseFilter > ----------------------------------------------------------------------------------------------- > > Key: ABDERA-190 > URL: https://issues.apache.org/jira/browse/ABDERA-190 > Project: Abdera > Issue Type: Improvement > Affects Versions: 0.4.0 > Reporter: Nathan Beyer > Attachments: ABDERA-190.patch > > > There are currently some weaknesses in the serialization and concurrency > facets of the AbstractListParseFilter and AbstractParseFilter. > Serialization adjustments > * declare explicit serialVersionUID fields > * make Collection-based fields transient and implement custom read/write > methods > Concurrency adjustments > * remove the Collections.synchronizedXXX types > * use synchronized blocks to wrap all access to the fields; this will > increase the atomicity to the complete interactions with the fields, instead > just each method call > Open questions > * since AbstractListParseFilter adds thread-safety, should the > AbstractParseFilter also be thread-safe (the 'toggle' method's not safe > because it's not atomic) -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.