// Write transferObject to MarshalOutputStream
ArrayList context = new ArrayList();
ByteArrayOutputStream baos = new ByteArrayOutputStream();
MarshalOutputStream output = new FakeMarshalOutputStream(
baos,context,writeAnnotationReturnVal);
output.writeObject(transferObject);
output.close();
// Read transferObject from MarshalInputStream
// Verifier shouldn't be called (so throw an exception if
// it is) under the following conditions: