attempt to fix sporadic unmarshalling problems by setting bundle
classloader on saveinstancestate