[ 
https://issues.apache.org/jira/browse/HBASE-12996?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14316924#comment-14316924
 ] 

Ian Friedman commented on HBASE-12996:
--------------------------------------

Thanks Andrew!

> Reversed field on Filter should be transient
> --------------------------------------------
>
>                 Key: HBASE-12996
>                 URL: https://issues.apache.org/jira/browse/HBASE-12996
>             Project: HBase
>          Issue Type: Bug
>    Affects Versions: 2.0.0, 1.1.0, 0.98.11
>            Reporter: Ian Friedman
>            Assignee: Ian Friedman
>            Priority: Trivial
>             Fix For: 2.0.0, 1.0.1, 1.1.0, 0.98.11
>
>         Attachments: HBASE-12996.patch
>
>
> Filter has the field
> {code}
>   protected boolean reversed;
> {code}
> which should be marked transient since it does not get serialized with the 
> rest of Filter.
> Even though Filters do not use Java serialization, this should be provided as 
> a hint to, for example, unittests that verify the integrity of serialization 
> methods by randomly populating a class and testing that it properly compares 
> after deserialization.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to