It turns out that a framework we've been using is able to serialize
*any* Java class, whether it implements Serializable or not -- so,
we've been happily serializing keywords without them explicitly
supporting it for some time.
However, making Keyword formally Serializable has other benefits,
specifically that a proper patch would ensure that deserialized
Keywords are interned as one would expect out.
So, I may make a run at this sooner rather than later...
- Chas
On Jul 24, 7:06 pm, Chris Kent <
cjk...@gmail.com> wrote:
> Hi
>
> Are there any fundamental reasons why the Keyword class shouldn't be
> serializable? I've been playing around with Clojure and Wicket and
> it's not possible to use maps containingKeywordsin Wicket page
> classes. Wicket pages are serialized and stored in the session
> between requests and this fails if the page refers to anyKeywords.
> UsingKeywordsin maps is common in Clojure (and in clj-record in