/openjdk7/jdk/test/java/io/Serializable/GetField/ |
H A D | Read.java | 27 * serialized fields which don't exist in the receiving object. 39 ObjectInputStream.GetField fields = in.readFields(); 40 if (! fields.defaulted("blargh")) { 44 fields.defaulted("nonexistant"); 48 if ((fields.get("z", false) != true) || 49 (fields.get("b", (byte) 0) != 5) || 50 (fields.get("c", '0') != '5') || 51 (fields.get("s", (short) 0) != 5) || 52 (fields.get("i", 0) != 5) || 53 (fields [all...] |
H A D | Read2.java | 27 * serialized fields which exist in the receiving object. 49 ObjectInputStream.GetField fields = in.readFields(); 50 if ((fields.get("z", false) != true) || 51 (fields.get("b", (byte) 0) != 5) || 52 (fields.get("c", '0') != '5') || 53 (fields.get("s", (short) 0) != 5) || 54 (fields.get("i", 0) != 5) || 55 (fields.get("j", 0l) != 5) || 56 (fields.get("f", 0.0f) != 5.0f) || 57 (fields [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/model/ |
H A D | Constructor.java | 32 * a constructor declaration consists of a set of fields to be initialized. 61 public Constructor( String[] _fields ) { this.fields = _fields; } 64 public final String[] fields; field in class:Constructor
|
/openjdk7/jdk/test/java/io/Serializable/PutField/ |
H A D | Write.java | 54 ObjectOutputStream.PutField fields = out.putFields(); 55 fields.put("z", true); 56 fields.put("b", (byte) 5); 57 fields.put("c", '5'); 58 fields.put("s", (short) 5); 59 fields.put("i", 5); 60 fields.put("j", 5l); 61 fields.put("f", 5.0f); 62 fields.put("d", 5.0); 63 fields [all...] |
H A D | Write2.java | 35 * that do not define primitive serializable fields. 48 ObjectOutputStream.PutField fields = out.putFields(); 49 fields.put("s1", "qwerty"); 50 fields.put("s2", "asdfg"); 51 fields.write(out);
|
/openjdk7/corba/src/share/classes/com/sun/corba/se/impl/orbutil/ |
H A D | LegacyHookGetFields.java | 34 private Hashtable fields = null; field in class:LegacyHookGetFields 36 LegacyHookGetFields(Hashtable fields){ argument 37 this.fields = fields; 41 * Get the ObjectStreamClass that describes the fields in the stream. 53 return (!fields.containsKey(name)); 63 else return ((Boolean)fields.get(name)).booleanValue(); 67 * Get the value of the named char field from the persistent fields. 73 else return ((Character)fields.get(name)).charValue(); 78 * Get the value of the named byte field from the persistent fields [all...] |
H A D | LegacyHookPutFields.java | 39 private Hashtable fields = new Hashtable(); field in class:LegacyHookPutFields 45 fields.put(name, new Boolean(value)); 49 * Put the value of the named char field into the persistent fields. 52 fields.put(name, new Character(value)); 56 * Put the value of the named byte field into the persistent fields. 59 fields.put(name, new Byte(value)); 63 * Put the value of the named short field into the persistent fields. 66 fields.put(name, new Short(value)); 70 * Put the value of the named int field into the persistent fields. 73 fields [all...] |
/openjdk7/hotspot/src/share/vm/opto/ |
H A D | runtime.cpp | 449 const Type **fields = TypeTuple::fields(1); local 450 fields[TypeFunc::Parms+0] = TypeInstPtr::NOTNULL; // Klass to be allocated 451 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+1, fields); 454 fields = TypeTuple::fields(1); 455 fields[TypeFunc::Parms+0] = TypeRawPtr::NOTNULL; // Returned oop 457 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+1, fields); 465 const Type **fields = TypeTuple::fields( local 480 const Type **fields = TypeTuple::fields(2); local 497 const Type **fields = TypeTuple::fields(nargs); local 529 const Type **fields = TypeTuple::fields(2); local 543 const Type **fields = TypeTuple::fields(2); local 557 const Type **fields = TypeTuple::fields(2); local 571 const Type **fields = TypeTuple::fields(1); local 588 const Type **fields = TypeTuple::fields(0); local 604 const Type **fields = TypeTuple::fields(2); local 621 const Type **fields = TypeTuple::fields(2); local 636 const Type** fields = TypeTuple::fields(1); local 650 const Type **fields = TypeTuple::fields(2); local 664 const Type **fields = TypeTuple::fields(2); local 680 const Type **fields = TypeTuple::fields(2); local 696 const Type **fields = TypeTuple::fields(4); local 716 const Type **fields = TypeTuple::fields(0); local 742 const Type** fields = TypeTuple::fields(argcnt); local 798 const Type** fields = TypeTuple::fields(3 LP64_ONLY( + 1)); local 819 const Type** fields = TypeTuple::fields(argcnt); local 839 const Type** fields = TypeTuple::fields(argcnt); local 859 const Type **fields = TypeTuple::fields(1); local 875 const Type **fields = TypeTuple::fields(2); local 1132 const Type **fields = TypeTuple::fields(1); local 1177 const Type **fields = TypeTuple::fields(1); local 1196 const Type **fields = TypeTuple::fields(2); local 1211 const Type **fields = TypeTuple::fields(2); local [all...] |
/openjdk7/jdk/test/java/rmi/reliability/benchmark/bench/serial/ |
H A D | GetPutFieldTrees.java | 64 ObjectOutputStream.PutField fields = out.putFields(); 65 fields.put("z", z); 66 fields.put("b", b); 67 fields.put("c", c); 68 fields.put("s", s); 69 fields.put("i", i); 70 fields.put("f", f); 71 fields.put("j", j); 72 fields.put("d", d); 73 fields [all...] |
/openjdk7/langtools/test/tools/javac/processing/model/util/filter/ |
H A D | ExpectedElementCounts.java | 33 int fields() default 0;
|
/openjdk7/jdk/src/share/classes/javax/management/ |
H A D | NumericValueExp.java | 63 // Serializable fields in old serial form 71 // Serializable fields in new serial form 198 ObjectInputStream.GetField fields = in.readFields(); 199 doubleVal = fields.get("doubleVal", (double)0); 200 if (fields.defaulted("doubleVal")) 204 longVal = fields.get("longVal", (long)0); 205 if (fields.defaulted("longVal")) 209 isLong = fields.get("valIsLong", false); 210 if (fields.defaulted("valIsLong")) 241 ObjectOutputStream.PutField fields [all...] |
/openjdk7/jdk/src/macosx/native/jobjc/src/generator/java/com/apple/internal/jobjc/generator/model/types/ |
H A D | Type.java | 133 List<NField> fields = new ArrayList<NField>(); 134 fields.add(new NField("origin", getCGPointType())); 135 fields.add(new NField("size", getCGSizeType())); 136 return new NStruct("CGRect", fields); 140 List<NField> fields = new ArrayList<NField>(); 141 fields.add(new NField("origin", getNSPointType())); 142 fields.add(new NField("size", getNSSizeType())); 143 return new NStruct("_NSRect", fields); 147 List<NField> fields = new ArrayList<NField>(); 148 fields [all...] |
/openjdk7/langtools/test/tools/javadoc/ |
H A D | BooleanConst.java | 53 FieldDoc[] fields = self.fields(); 54 if (fields.length != 2) 55 throw new Error("2 " + Arrays.asList(fields)); 56 for (int i=0; i<fields.length; i++) { 57 FieldDoc f = fields[i];
|
/openjdk7/jdk/src/share/classes/javax/management/relation/ |
H A D | RoleInfo.java | 64 // Serializable fields in old serial form 76 // Serializable fields in new serial form 536 ObjectInputStream.GetField fields = in.readFields(); 537 name = (String) fields.get("myName", null); 538 if (fields.defaulted("myName")) 542 isReadable = fields.get("myIsReadableFlg", false); 543 if (fields.defaulted("myIsReadableFlg")) 547 isWritable = fields.get("myIsWritableFlg", false); 548 if (fields.defaulted("myIsWritableFlg")) 552 description = (String) fields [all...] |
H A D | RoleResult.java | 63 // Serializable fields in old serial form 70 // Serializable fields in new serial form 219 ObjectInputStream.GetField fields = in.readFields(); 220 roleList = (RoleList) fields.get("myRoleList", null); 221 if (fields.defaulted("myRoleList")) 225 unresolvedRoleList = (RoleUnresolvedList) fields.get("myRoleUnresList", null); 226 if (fields.defaulted("myRoleUnresList")) 249 ObjectOutputStream.PutField fields = out.putFields(); 250 fields.put("myRoleList", roleList); 251 fields [all...] |
H A D | RelationNotification.java | 76 // Serializable fields in old serial form 88 // Serializable fields in new serial form 530 ObjectInputStream.GetField fields = in.readFields(); 533 tmpRelationId = (String)fields.get("myRelId", null); 534 tmpRelationTypeName = (String)fields.get("myRelTypeName", null); 535 tmpRoleName = (String)fields.get("myRoleName", null); 537 tmpRelationObjName = (ObjectName)fields.get("myRelObjName", null); 538 tmpNewRoleValue = cast(fields.get("myNewRoleValue", null)); 539 tmpOldRoleValue = cast(fields.get("myOldRoleValue", null)); 540 tmpUnregMBeanList = cast(fields [all...] |
/openjdk7/langtools/src/share/classes/com/sun/tools/doclets/internal/toolkit/builders/ |
H A D | FieldBuilder.java | 47 * The class whose fields are being documented. 52 * The visible fields for the given class. 62 * The list of fields being documented. 64 private List<ProgramElementDoc> fields; field in class:FieldBuilder 101 builder.fields = 106 builder.fields, 120 * Returns a list of fields that will be documented for the given class. 125 * @return a list of fields that will be documented. 132 * Returns the visible member map for the fields of this class. 134 * @return the visible member map for the fields o [all...] |
H A D | PropertyBuilder.java | 47 * The class whose fields are being documented. 52 * The visible fields for the given class. 62 * The list of fields being documented. 64 private List<ProgramElementDoc> fields; field in class:PropertyBuilder 101 builder.fields = new ArrayList<ProgramElementDoc>( 105 builder.fields, 119 * Returns a list of fields that will be documented for the given class. 124 * @return a list of fields that will be documented. 131 * Returns the visible member map for the fields of this class. 133 * @return the visible member map for the fields o [all...] |
/openjdk7/jdk/src/share/classes/javax/sql/rowset/serial/ |
H A D | SerialJavaObject.java | 45 * Static or transient fields cannot be serialized; an attempt to serialize 59 * Placeholder for all fields in the <code>JavaObject</code> being serialized. 61 private transient Field[] fields; field in class:SerialJavaObject 72 // if any static fields are found, an exception 84 // can only determine public fields (obviously). If 86 // the action of attempting to persist these fields 90 fields = c.getFields(); 92 for (int i = 0; i < fields.length; i++ ) { 93 if ( fields[i].getModifiers() == Modifier.STATIC ) { 100 throw new SerialException("Located static fields i [all...] |
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/reader/dtd/bindinfo/ |
H A D | BIInterface.java | 44 fields = parseTokens(DOMUtil.getAttribute(e,"properties")); 47 fields = new String[0]; 72 private final String[] fields; field in class:BIInterface 74 /** Gets the names of fields in this interface. */ 75 public String[] fields() { return fields; } method in class:BIInterface
|
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/ |
H A D | JFieldVar.java | 64 if(owner.fields.containsKey(name)) 68 owner.fields.remove(oldName); 69 owner.fields.put(name,this);
|
/openjdk7/jdk/test/java/io/Serializable/enum/ignoreSerializationFields/ |
H A D | Test.java | 62 ObjectStreamField[] fields = desc.getFields(); 63 if (fields.length > 0) { 65 classes[i] + " has non-empty list of fields: " + 66 Arrays.asList(fields));
|
/openjdk7/jdk/src/share/classes/javax/management/modelmbean/ |
H A D | InvalidTargetObjectTypeException.java | 65 // Serializable fields in old serial form 72 // Serializable fields in new serial form 162 ObjectInputStream.GetField fields = in.readFields(); 163 exception = (Exception) fields.get("relatedExcept", null); 164 if (fields.defaulted("relatedExcept")) 187 ObjectOutputStream.PutField fields = out.putFields(); 188 fields.put("relatedExcept", exception); 189 fields.put("msgStr", ((exception != null)?exception.getMessage():""));
|
/openjdk7/jdk/test/java/io/Serializable/noSuchFieldClarification/ |
H A D | NoSuchFieldClarification.java | 63 ObjectOutputStream.PutField fields = out.putFields(); 64 fields.put("x", radius * Math.cos(angle)); 65 fields.put("y", radius * Math.sin(angle)); 72 ObjectInputStream.GetField fields = in.readFields(); 73 double x = fields.get("x", 0); 74 double y = fields.get("y", 0.0);
|
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/ |
H A D | BasicCompoundType.java | 35 private List fields; field in class:BasicCompoundType 66 return ((fields == null) ? 0 : fields.size()); 69 return (Field) fields.get(i); 73 if (fields == null) { 74 fields = new ArrayList(); 76 fields.add(f); 91 if (fields != null) { 92 for (Iterator iter = fields.iterator(); iter.hasNext(); ) { 104 // our fields an [all...] |