01: /*
02: * Copyright (C) The MX4J Contributors.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the MX4J License version 1.0.
06: * See the terms of the MX4J License in the documentation provided with this software.
07: */
08:
09: package test.javax.management.remote.support;
10:
11: import java.io.IOException;
12: import java.io.ObjectInputStream;
13: import java.io.Serializable;
14:
15: /**
16: * @version $Revision: 1.3 $
17: */
18: public class Unknown implements Serializable {
19: private transient ClassLoader loader = getClass().getClassLoader();
20:
21: private void readObject(ObjectInputStream ois) throws IOException,
22: ClassNotFoundException {
23: ois.defaultReadObject();
24: loader = getClass().getClassLoader();
25: }
26: }
|