Opened 10 years ago

Closed 10 years ago

#451 closed defect (fixed)

EnumParameter can't be serialized with servlets.

Reported by: Kevin Milner Owned by:
Priority: major Milestone: OpenSHA 1.4
Component: sha Version:
Keywords: Cc:


There is a problem with serialization of ImmutableList? that will likely never be fixed. See these threads:

This class is used in EnumParameter? (actually EnumConstraint?), and was throwing exceptions when deserialized by tomcat.

Change History (1)

comment:1 Changed 10 years ago by Kevin Milner

Resolution: fixed
Status: newclosed

fixed in [10514] by switching to Collections.unmodifiableList(Lists.newArrayList(values))

Note: See TracTickets for help on using tickets.