@@ -0,0 +1,869 @@
+package sfBugs;%0A%0A%0A%0Aimport java.io.IOException;%0A%0Aimport java.io.ObjectInputStream;%0A%0Aimport java.io.ObjectOutputStream;%0A%0Aimport java.io.Serializable;%0A%0A%0A%0Apublic class Bug1862705 implements Serializable %7B%0A%0A    private static final long serialVersionUID = 1L;%0A%0A    private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException %7B%0A%0A        s.defaultReadObject();%0A%0A    %7D%0A%0A    private void writeObject(ObjectOutputStream s) throws IOException %7B%0A%0A        s.defaultWriteObject();%0A%0A    %7D%0A%0A    public static class Bar extends Bug1862705 %7B%0A%0A        private static final long serialVersionUID = 1L;%0A%0A        private transient String s = null;%0A%0A        public Bar(String ss) %7B%0A%0A            s = ss;%0A%0A        %7D%0A%0A        public String getS() %7B%0A%0A            return s;%0A%0A        %7D%0A%0A        public void setS(String ss) %7B%0A%0A            s = ss;%0A%0A        %7D%0A%0A    %7D%0A%0A%7D%0A%0A%0A%0A

add test case