You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Charles Honton (JIRA)" <ji...@apache.org> on 2015/08/13 04:05:45 UTC

[jira] [Created] (BCEL-242) Remove Serializable, Clonable, hashCode, equals

Charles Honton created BCEL-242:
-----------------------------------

             Summary: Remove Serializable, Clonable, hashCode, equals
                 Key: BCEL-242
                 URL: https://issues.apache.org/jira/browse/BCEL-242
             Project: Commons BCEL
          Issue Type: Wish
            Reporter: Charles Honton


While we're in the midst of bringing BCEL up to date, can we remove the  unnecessary code.

It is unlikely that any application needs to serialize BCEL state and the class that BCEL generates is already "serialized".  (And serializatoin is hard to get right)

It is unlikely that opcodes or instructions need to be compared, so equals/hashCode is excess.

Cloning is hard to get right and probably not necessary.



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