Disabling serialization for now emul
authorJaroslav Tulach <jaroslav.tulach@apidesign.org>
Sun, 30 Sep 2012 17:29:51 -0700
branchemul
changeset 79a6ac0a32d3ea
parent 78 6e986ab70e08
child 80 5856cc62bfa7
Disabling serialization for now
emul/src/main/java/java/lang/StringBuilder.java
     1.1 --- a/emul/src/main/java/java/lang/StringBuilder.java	Sun Sep 30 17:26:01 2012 -0700
     1.2 +++ b/emul/src/main/java/java/lang/StringBuilder.java	Sun Sep 30 17:29:51 2012 -0700
     1.3 @@ -416,22 +416,22 @@
     1.4       *             characters currently stored in the string builder, in which
     1.5       *             case extra characters are ignored.
     1.6       */
     1.7 -    private void writeObject(java.io.ObjectOutputStream s)
     1.8 -        throws java.io.IOException {
     1.9 -        s.defaultWriteObject();
    1.10 -        s.writeInt(count);
    1.11 -        s.writeObject(value);
    1.12 -    }
    1.13 +//    private void writeObject(java.io.ObjectOutputStream s)
    1.14 +//        throws java.io.IOException {
    1.15 +//        s.defaultWriteObject();
    1.16 +//        s.writeInt(count);
    1.17 +//        s.writeObject(value);
    1.18 +//    }
    1.19  
    1.20      /**
    1.21       * readObject is called to restore the state of the StringBuffer from
    1.22       * a stream.
    1.23       */
    1.24 -    private void readObject(java.io.ObjectInputStream s)
    1.25 -        throws java.io.IOException, ClassNotFoundException {
    1.26 -        s.defaultReadObject();
    1.27 -        count = s.readInt();
    1.28 -        value = (char[]) s.readObject();
    1.29 -    }
    1.30 +//    private void readObject(java.io.ObjectInputStream s)
    1.31 +//        throws java.io.IOException, ClassNotFoundException {
    1.32 +//        s.defaultReadObject();
    1.33 +//        count = s.readInt();
    1.34 +//        value = (char[]) s.readObject();
    1.35 +//    }
    1.36  
    1.37  }