wildfly/wildfly — pull request #6468 by pferraro (2014-07-01 17:57:15+00:00)
Title: Proactively validate that distributable session attributes are Serializable

From SRV-7.7.2:
"The distributed servlet container must throw an IllegalArgumentException for objects where the container cannot support the mechanism necessary for migration of the session storing them."

Also, improve DIST_ASYNC compatibility by using FORCE_SYNCHRONOUS flag where cache write result is required.