A requirement that the AbstractParsingDeployerWithOutput.build(DeploymentUnit unit, Map<String, ManagedObject> managedObjects) imposes on the deployer output is that it must be Serialziable in order for the default ManagedObjectFactory to be usable. A change was made to only check the output type:
// we can check for Serializable w/o searching for attachment if (Serializable.class.isAssignableFrom(getOutput()) == false) { log.debug("Skipping ManagedObject since T(" + getOutput() + ") is not Serializable"); }
Or we can just add additional check if output is not already Serializable - only then checking the actual attachment.