Test Class.forName and serialization on inner classes

Change-Id: Ib8e5e5df02818ca05d46d866f60a59c07a843d51
diff --git a/test/093-serialization/src/Main.java b/test/093-serialization/src/Main.java
index ca3dc9f..3cb98be 100644
--- a/test/093-serialization/src/Main.java
+++ b/test/093-serialization/src/Main.java
@@ -47,6 +47,8 @@
 
         Sub sub = new Sub('X');
         objStream.writeObject(sub);
+        Inner inner = new Inner(0xCAFEF00D);
+        objStream.writeObject(inner);
         byte[] bytes = byteStream.toByteArray();
 
         objStream.close();
@@ -59,8 +61,10 @@
         ObjectInputStream objStream = new ObjectInputStream(byteStream);
 
         Sub sub;
+        Inner inner;
         try {
             sub = (Sub) objStream.readObject();
+            inner = (Inner) objStream.readObject();
         } catch (ClassNotFoundException cnfe) {
             throw new RuntimeException(cnfe);
         }
@@ -69,6 +73,19 @@
         byteStream.close();
 
         sub.check();
+        inner.check();
+    }
+
+    static class Inner implements Serializable {
+        private static final long serialVersionUID = 319009;
+        private final int x;
+        public Inner (int x) {
+            this.x = x;
+        }
+
+        public void check() {
+            System.out.println("x=" + Integer.toHexString(x));
+        }
     }
 }
 
@@ -113,4 +130,3 @@
             + " thing=" + thing);
     }
 }
-