Searched refs:osc (Results 1 – 8 of 8) sorted by relevance
50 ObjectStreamClass osc = ObjectStreamClass.lookup(DummyClass.class); in test_forClass() local51 assertEquals("forClass returned an object: " + osc.forClass(), in test_forClass()52 DummyClass.class, osc.forClass()); in test_forClass()59 ObjectStreamClass osc = ObjectStreamClass.lookup(DummyClass.class); in test_getFieldLjava_lang_String() local60 assertEquals("getField did not return correct field", 'J', osc in test_getFieldLjava_lang_String()62 assertNull("getField did not null for non-existent field", osc in test_getFieldLjava_lang_String()70 ObjectStreamClass osc = ObjectStreamClass.lookup(DummyClass.class); in test_getFields() local71 ObjectStreamField[] osfArray = osc.getFields(); in test_getFields()81 ObjectStreamClass osc = ObjectStreamClass.lookup(DummyClass.class); in test_getName() local83 "getName returned incorrect name: " + osc.getName(), in test_getName()[all …]
52 ObjectStreamClass osc; field in ObjectStreamFieldTest103 osfArray = osc.getFields(); in test_getOffset()248 osc = ObjectStreamClass.lookup(DummyClass.class); in setUp()249 bamField = osc.getField("bam"); in setUp()250 samField = osc.getField("sam"); in setUp()251 hamField = osc.getField("ham"); in setUp()252 holaField = osc.getField("hola"); in setUp()305 ObjectStreamClass osc = super.readClassDescriptor(); in readClassDescriptor() local307 if (osc.getSerialVersionUID() == -2953957835918368056L) { in readClassDescriptor()308 temp = osc; in readClassDescriptor()[all …]
60 ObjectStreamClass osc; field in OldObjectStreamFieldTest137 osfArray = osc.getFields(); in test_getOffset()161 osfArray = osc.getFields(); in test_isPrimitive()173 osc = ObjectStreamClass.lookup(DummyClass.class); in setUp()174 bamField = osc.getField("bam"); in setUp()175 samField = osc.getField("sam"); in setUp()176 hamField = osc.getField("ham"); in setUp()177 holaField = osc.getField("hola"); in setUp()
36 ObjectStreamClass osc = ObjectStreamClass.lookup(FieldMadeTransient.class); in testSerializeFieldMadeTransient() local37 ObjectStreamField[] fields = osc.getFields(); in testSerializeFieldMadeTransient()58 ObjectStreamClass osc = ObjectStreamClass.lookup(FieldMadeStatic.class); in testSerializeFieldMadeStatic() local59 ObjectStreamField[] fields = osc.getFields(); in testSerializeFieldMadeStatic()
67 ObjectStreamClass osc = ObjectStreamClass.lookup(String.class); in timeReadObjectStreamClass() local68 readSingleObject(reps, osc); in timeReadObjectStreamClass()79 ObjectStreamClass osc = ObjectStreamClass.lookup(String.class); in timeWriteObjectStreamClass() local80 writeSingleObject(reps, osc); in timeWriteObjectStreamClass()
843 for (ObjectStreamClass osc = this; osc != null; osc = osc.getSuperclass()) { in makeHierarchy()844 result.add(0, osc); in makeHierarchy()1055 ObjectStreamClass osc = lookupStreamClass(cl); in lookup() local1056 return (osc.isSerializable() || osc.isExternalizable()) ? osc : null; in lookup()
1021 ObjectStreamClass osc = hierarchy.get(i); in writeHierarchy() local1025 currentClass = osc; in writeHierarchy()1030 if (osc.hasMethodWriteObject()) { in writeHierarchy()1031 final Method method = osc.getMethodWriteObject(); in writeHierarchy()
1257 ObjectStreamClass osc = super.readClassDescriptor(); in readClassDescriptor() local1259 if (osc.getName().equals(returnClass.getName())) { in readClassDescriptor()1262 return osc; in readClassDescriptor()1374 protected void writeClassDescriptor(ObjectStreamClass osc) throws IOException { in writeClassDescriptor() argument1375 objs[pos++] = osc; in writeClassDescriptor()