import java.io.*;

class Serializable2  {
	int x;
	Serializable2(int i) {
		x = i;
		}

	static class Inner extends Serializable2 implements Serializable {
		Inner() {
			super(42);
			}
		}
	static public void main(String args[]) throws Exception {
		ByteArrayOutputStream pout = new ByteArrayOutputStream();
		ObjectOutputStream oout = new ObjectOutputStream(pout);
		oout.writeObject(new Inner());
		oout.close();
		byte b[] = pout.toByteArray();
		ByteArrayInputStream pin = new ByteArrayInputStream(b);
		ObjectInputStream oin = new ObjectInputStream( pin);
		Object o = oin.readObject();
		System.out.println("read object");
		System.out.println(o);
		}
	}

@@ -10,16 +10,82 @@
 va.io.*;
+%0Aimport java.awt.*;%0Aimport java.awt.event.*;%0Aimport javax.swing.*;
 %0A%0Aclass 
@@ -250,16 +250,199 @@
 %09%09%7D%0A%09%09%7D%0A
+%09%09%0A%09public void exampleOfSerializableAnonymousClass()%0A%09%7B%09%0A%09%09JMenuItem mi = new JMenuItem( new AbstractAction()%0A%09%09%7B%0A%09%09%09public void actionPerformed(ActionEvent ae)%0A%09%09%09%7B%0A%09%09%09%7D%0A%09%09%7D);%0A%09%7D%0A%09%0A
 %09static 

add serializable anonymous class without a serial version id