[
https://issues.apache.org/jira/browse/HADOOP-2738?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jim Kellerman updated HADOOP-2738:
----------------------------------
Attachment: patch.txt
Works locally, try hudson.
> Text is not subclassable because set(Text) and compareTo(Object) access the
> other instance's private members directly
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: HADOOP-2738
> URL: https://issues.apache.org/jira/browse/HADOOP-2738
> Project: Hadoop Core
> Issue Type: Bug
> Components: io
> Affects Versions: 0.16.0
> Reporter: Jim Kellerman
> Assignee: Jim Kellerman
> Priority: Minor
> Fix For: 0.17.0
>
> Attachments: patch.txt
>
>
> Text objects should not access other Text objects private members directly.
> Both set(Text) and compareTo(Object) do.
> Because these two methods access private members of the other object, Text is
> not subclassable. Either these two methods should be modified to use the
> accessors that are already available, or Text should be declared as a final
> class, because as it exists today it is not subclassable.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.