/** * deserialize, using the current Thread Context classloader * * @param byteArray * @return deserialized object * @throws IOException * @throws ClassNotFoundException */ public static Object deserialize(byte[] byteArray) throws IOException, ClassNotFoundException { return deserialize(byteArray,Thread.currentThread().getContextClassLoader()); } /**
/** * deserialize, using the current Thread Context classloader * * @param byteArray * @return deserialized object * @throws IOException * @throws ClassNotFoundException */ public static Object deserialize(byte[] byteArray) throws IOException, ClassNotFoundException { return deserialize(byteArray,Thread.currentThread().getContextClassLoader()); } /**