[
https://issues.apache.org/jira/browse/HBASE-12996?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ian Friedman updated HBASE-12996:
---------------------------------
Description:
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.
was:
Filter has the field
{code}
protected boolean reversed;
{code}
which should be marked transient.
> 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
> Priority: Trivial
> Fix For: 2.0.0, 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)