Searched refs:writeObject (Results 1 - 25 of 515) sorted by relevance

1234567891011>>

/openjdk7/jdk/test/java/io/Serializable/unresolvedClassDesc/
H A DWrite.java48 oout.writeObject(desc);
49 oout.writeObject(new Object[]{ desc }); // test indirect references
50 oout.writeObject(foo);
51 oout.writeObject(new Object[]{ foo });
/openjdk7/jdk/test/java/io/Serializable/proxy/skipMissing/
H A DWrite.java58 private void writeObject(ObjectOutputStream out) throws IOException { method in class:B
60 out.writeObject(proxy);
71 oout.writeObject(new A(proxy));
73 oout.writeObject(new B(proxy));
74 oout.writeObject(proxy);
/openjdk7/jdk/test/java/io/Serializable/badSerialPersistentField/
H A DBadSerialPersistentField.java60 oout.writeObject(new A());
67 oout.writeObject(new B());
73 oout.writeObject(new C());
/openjdk7/jdk/test/java/io/Serializable/fieldTypeString/
H A DWrite.java61 oout.writeObject(new Foo("foo"));
62 oout.writeObject(new Foo(new Integer(0)));
66 oout.writeObject(new Bar());
/openjdk7/jdk/test/java/io/Serializable/verifyDynamicObjHandleTable/
H A DVerifyDynamicObjHandleTable.java36 private void writeObject(ObjectOutputStream out) throws IOException { method in class:A
38 throw new InvalidObjectException("writeObject: object " +
59 out.writeObject(new A());
63 // allow writeObject to be called on any objects that
68 out.writeObject(iter.next());
/openjdk7/jdk/test/java/io/Serializable/writeObjectMemory/
H A DWriteObjectMemory.java38 private void writeObject(ObjectOutputStream out) throws IOException { method in class:A
40 throw new InvalidObjectException("writeObject: object " +
61 out.writeObject(new A());
65 // allow writeObject to be called on any objects that
70 out.writeObject(iter.next());
/openjdk7/jdk/test/java/io/Serializable/arraySuidConflict/
H A DWrite.java44 oout.writeObject(new Foo[0]);
/openjdk7/jdk/test/java/io/Serializable/optionalDataEnd/
H A DOptionalDataEnd.java40 private void writeObject(ObjectOutputStream out) throws IOException { method in class:Foo
43 out.writeObject(new Integer(i));
69 oout.writeObject(new Foo(5));
70 oout.writeObject(new Foo(0));
/openjdk7/jdk/test/java/rmi/server/Unmarshal/checkUnmarshalOnStopThread/
H A DRuntimeExceptionParameter.java36 private void writeObject(ObjectOutputStream out) method in class:RuntimeExceptionParameter
39 throw new RuntimeException("wrote a parameter whos writeObject " +
/openjdk7/jdk/test/java/io/Serializable/backRefCNFException/
H A DWrite.java54 oout.writeObject(a);
55 oout.writeObject(a.b);
/openjdk7/jdk/test/java/io/Serializable/duplicateSerialFields/
H A DSetup.java50 oout.writeObject(new A());
54 oout.writeObject(new B());
/openjdk7/jdk/test/java/io/Serializable/skipWriteObject/
H A DWrite.java35 * written using a class-defined writeObject method for which the
48 private void writeObject(ObjectOutputStream out) throws IOException { method in class:Bar
57 oout.writeObject(new Object[] { "before", new Foo(), "after" });
/openjdk7/jdk/test/java/io/Serializable/stopCustomDeserialization/
H A DWrite.java57 oout.writeObject(new C());
58 oout.writeObject("after");
/openjdk7/jdk/test/java/io/Serializable/userRWObjError/
H A DUserRWObjError.java27 * readObject & writeObject method.
38 * at java.io.ObjectOutputStream.writeObject(Objec
48 out.writeObject(obj);
60 private void writeObject(ObjectOutputStream out) throws IOException { method in class:UserRWObjError
/openjdk7/jdk/test/java/io/Serializable/wrongReturnTypes/
H A DWrite.java46 private Object writeObject(ObjectOutputStream out) throws IOException { method in class:B
62 oout.writeObject(new B());
66 throw new Error("writeObject with wrong return type called");
/openjdk7/jdk/test/java/io/Serializable/enum/ignoreSerializationMethods/
H A DTest.java36 private void writeObject(ObjectOutputStream out) throws IOException {
37 throw new Error("bar.writeObject invoked");
53 private void writeObject(ObjectOutputStream out) throws IOException { method in class:Foo
54 throw new Error("Foo.writeObject invoked");
75 oout.writeObject(f);
/openjdk7/jdk/test/java/io/Serializable/oldTests/
H A DCheckForException.java29 * which raises NotSerializableException inside writeObject()
41 "writeObject() and readObject() methods.\n");
59 p.writeObject("test");
60 p.writeObject("test2");
61 p.writeObject(npc);
111 private void writeObject(ObjectOutputStream pw) throws IOException { method in class:PickleClass
132 private void writeObject(ObjectOutputStream pw) method in class:NoPickleClass
149 private void writeObject(ObjectOutputStream pw) throws IOException { method in class:TryPickleClass
/openjdk7/jdk/test/java/io/Serializable/validate/
H A DValidate.java42 out.writeObject(c1);
43 out.writeObject(new Class1(22,33));
44 out.writeObject(new Date());
45 out.writeObject(new Date());
46 out.writeObject(new Date());
47 out.writeObject(new Date());
/openjdk7/jdk/test/java/io/Serializable/InvalidClassException/noargctor/
H A DDefaultPackage.java137 out.writeObject(new DefaultPublicSerializable());
138 out.writeObject(new DefaultProtectedSerializable());
139 out.writeObject(new DefaultAccessSerializable());
140 out.writeObject(new DefaultPrivateSerializable());
156 out.writeObject(new ExternalizablePublicConstructor());
164 out.writeObject(new ExternalizableProtectedConstructor());
177 out.writeObject(new ExternalizableAccessConstructor());
189 out.writeObject(new ExternalizablePrivateConstructor(2));
/openjdk7/jdk/test/java/io/Serializable/PutField/
H A DWrite2.java47 private void writeObject(ObjectOutputStream out) throws IOException { method in class:Foo
59 oout.writeObject(new Foo());
/openjdk7/jdk/test/java/io/Serializable/modifyStaticFields/
H A DModifyStaticFields.java41 oout.writeObject(new ModifyStaticFields());
53 private void writeObject(ObjectOutputStream out) throws IOException { method in class:ModifyStaticFields
/openjdk7/jdk/test/java/io/Serializable/InvalidClassException/noargctor/Serialize/
H A DSubclassAcrossPackage.java153 out.writeObject(new PublicSerializable());
154 out.writeObject(new ProtectedSerializable());
155 out.writeObject(new SamePackageSerializable());
156 out.writeObject(new SamePackageProtectedSerializable());
157 out.writeObject(new DifferentPackageSerializable());
173 out.writeObject(new PrivateSerializable());
184 out.writeObject(new SamePackagePrivateSerializable());
195 out.writeObject(new ExternalizablePublicCtor());
203 out.writeObject(new ExternalizableProtectedCtor());
216 out.writeObject(ne
[all...]
/openjdk7/jdk/src/share/classes/java/io/
H A DObjectOutput.java48 public void writeObject(Object obj) method in interface:ObjectOutput
/openjdk7/jdk/test/java/io/Externalizable/definesWriteObject/
H A DDefinesWriteObject.java27 * @summary Write and read an Externalizable class that defines writeObject.
28 * There was some confusion over writeObject method needing
50 * There was some confusion over writeObject method needing
55 private void writeObject(ObjectOutputStream out) throws IOException { method in class:DefinesWriteObject
65 out.writeObject(objData);
83 oos.writeObject(obj1);
84 oos.writeObject(obj2);
/openjdk7/jdk/test/java/io/Serializable/ClassCastExceptionDetail/
H A DWrite.java53 oout.writeObject(new Gub());

Completed in 176 milliseconds

1234567891011>>