96979899100101102103104105106
oos.close(); } } Object object = null; byte[] bytes = data.bytes(); ObjectInputStream ois = null; try { ois = new ObjectInputStream(new ByteArrayInputStream(bytes)); object = ois.readObject(); } finally {