public T deserialize(ClassLoader loader) throws ClassNotFoundException {
try {
ByteArrayInputStream byteStream = new ByteArrayInputStream(data);
GZIPInputStream gzipStream = new GZIPInputStream(byteStream);
try {
ObjectInputStream objectStream = new AlternateClassLoaderObjectInputStream(
gzipStream, loader);
object = (T) objectStream.readObject();
return object;
} finally {
gzipStream.close();
}
} catch (IOException e) {