commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <>
Subject [jira] [Commented] (BCEL-242) Remove Serializable, Clonable, hashCode, equals
Date Thu, 13 Aug 2015 09:43:46 GMT


Sebb commented on BCEL-242:

I agree that supporting serialisation seems completely unnecessary.

Cloning is also probably unnecessary; if we can make most classes immutable then they don't
need cloning anyway.

> Remove Serializable, Clonable, hashCode, equals
> -----------------------------------------------
>                 Key: BCEL-242
>                 URL:
>             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
> 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
> Cloning is hard to get right and probably not necessary.

This message was sent by Atlassian JIRA

View raw message