equal
deleted
inserted
replaced
162 * Deserialize the decoded Base64 bytes to recover the BinaryRefAddr object. |
162 * Deserialize the decoded Base64 bytes to recover the BinaryRefAddr object. |
163 */ |
163 */ |
164 private static void deserialize(byte[] bytes) throws Exception { |
164 private static void deserialize(byte[] bytes) throws Exception { |
165 |
165 |
166 //System.out.println("\nSerialized RefAddr object: "); |
166 //System.out.println("\nSerialized RefAddr object: "); |
167 //System.out.println(new sun.misc.HexDumpEncoder().encode(bytes)); |
167 //System.out.println(new sun.security.util.HexDumpEncoder().encode(bytes)); |
168 |
168 |
169 ObjectInputStream objectStream = |
169 ObjectInputStream objectStream = |
170 new ObjectInputStream(new ByteArrayInputStream(bytes)); |
170 new ObjectInputStream(new ByteArrayInputStream(bytes)); |
171 Object object = objectStream.readObject(); |
171 Object object = objectStream.readObject(); |
172 if (!BINARY_REF_ADDR.equals(object)) { |
172 if (!BINARY_REF_ADDR.equals(object)) { |