/openjdk10/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...] |
/openjdk10/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);
|
/openjdk10/hotspot/src/share/vm/opto/ |
H A D | runtime.cpp | 473 const Type **fields = TypeTuple::fields(1); local 474 fields[TypeFunc::Parms+0] = TypeInstPtr::NOTNULL; // Klass to be allocated 475 const TypeTuple *domain = TypeTuple::make(TypeFunc::Parms+1, fields); 478 fields = TypeTuple::fields(1); 479 fields[TypeFunc::Parms+0] = TypeRawPtr::NOTNULL; // Returned oop 481 const TypeTuple *range = TypeTuple::make(TypeFunc::Parms+1, fields); 489 const Type **fields = TypeTuple::fields( local 504 const Type **fields = TypeTuple::fields(2); local 521 const Type **fields = TypeTuple::fields(nargs); local 553 const Type **fields = TypeTuple::fields(2); local 567 const Type **fields = TypeTuple::fields(2); local 581 const Type **fields = TypeTuple::fields(2); local 595 const Type **fields = TypeTuple::fields(1); local 610 const Type **fields = TypeTuple::fields(2); local 627 const Type **fields = TypeTuple::fields(3); local 643 const Type **fields = TypeTuple::fields(1); local 655 const Type** fields = TypeTuple::fields(1); local 669 const Type **fields = TypeTuple::fields(2); local 683 const Type **fields = TypeTuple::fields(2); local 699 const Type **fields = TypeTuple::fields(2); local 715 const Type **fields = TypeTuple::fields(4); local 735 const Type **fields = TypeTuple::fields(0); local 761 const Type** fields = TypeTuple::fields(argcnt); local 816 const Type** fields; local 842 const Type** fields = TypeTuple::fields(argcnt); local 867 const Type** fields = TypeTuple::fields(argcnt); local 889 const Type** fields = TypeTuple::fields(argcnt); local 912 const Type** fields = TypeTuple::fields(argcnt); local 935 const Type** fields = TypeTuple::fields(argcnt); local 963 const Type** fields = TypeTuple::fields(argcnt); local 991 const Type** fields = TypeTuple::fields(argcnt); local 1012 const Type** fields = TypeTuple::fields(argcnt); local 1032 const Type** fields = TypeTuple::fields(argcnt); local 1054 const Type** fields = TypeTuple::fields(argcnt); local 1075 const Type** fields = TypeTuple::fields(argcnt); local 1096 const Type** fields = TypeTuple::fields(argcnt); local 1120 const Type** fields = TypeTuple::fields(argcnt); local 1143 const Type** fields = TypeTuple::fields(argcnt); local 1163 const Type** fields = TypeTuple::fields(argcnt); local 1182 const Type **fields = TypeTuple::fields(1); local 1198 const Type **fields = TypeTuple::fields(2); local 1470 const Type **fields = TypeTuple::fields(1); local 1515 const Type **fields = TypeTuple::fields(1); local 1534 const Type **fields = TypeTuple::fields(2); local 1549 const Type **fields = TypeTuple::fields(2); local [all...] |
/openjdk10/jaxws/src/jdk.xml.bind/share/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.clone(); } 64 public final String[] fields; field in class:Constructor
|
/openjdk10/corba/src/java.corba/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...] |
/openjdk10/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...] |
/openjdk10/langtools/test/tools/javac/processing/model/util/filter/ |
H A D | ExpectedElementCounts.java | 33 int fields() default 0;
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.nodes/src/org/graalvm/compiler/nodes/virtual/ |
H A D | VirtualInstanceNode.java | 40 protected final ResolvedJavaField[] fields; field in class:VirtualInstanceNode 46 public VirtualInstanceNode(ResolvedJavaType type, ResolvedJavaField[] fields, boolean hasIdentity) { argument 47 this(TYPE, type, fields, hasIdentity); 54 protected VirtualInstanceNode(NodeClass<? extends VirtualInstanceNode> c, ResolvedJavaType type, ResolvedJavaField[] fields, boolean hasIdentity) { argument 57 this.fields = fields; 67 return fields.length; 71 return fields[index]; 75 return fields; 89 return fields[inde [all...] |
/openjdk10/hotspot/test/runtime/Unsafe/ |
H A D | FieldOffset.java | 41 Field[] fields = Test.class.getDeclaredFields(); 43 for (int i = 0; i < fields.length; i++) { 44 long offset = unsafe.objectFieldOffset(fields[i]); 50 assertNotEquals(offset, unsafe.objectFieldOffset(fields[j])); 54 fields = StaticTest.class.getDeclaredFields(); 55 for (int i = 0; i < fields.length; i++) { 56 long offset = unsafe.staticFieldOffset(fields[i]); 62 assertNotEquals(offset, unsafe.staticFieldOffset(fields[j]));
|
/openjdk10/jdk/src/java.sql.rowset/share/classes/javax/sql/rowset/serial/ |
H A D | SerialJavaObject.java | 47 * Static or transient fields cannot be serialized; an attempt to serialize 68 * Placeholder for all fields in the <code>JavaObject</code> being serialized. 70 private transient Field[] fields; field in class:SerialJavaObject 80 // if any static fields are found, an exception 92 // can only determine public fields (obviously). If 94 // the action of attempting to persist these fields 96 fields = c.getFields(); 98 if (hasStaticFields(fields)) { 99 throw new SerialException("Located static fields in " + 136 if (fields ! 273 hasStaticFields(Field[] fields) argument [all...] |
H A D | SerialRef.java | 229 ObjectInputStream.GetField fields = s.readFields(); 230 object = fields.get("object", null); 231 baseTypeName = (String) fields.get("baseTypeName", null); 232 reference = (Ref) fields.get("reference", null); 242 ObjectOutputStream.PutField fields = s.putFields(); 243 fields.put("baseTypeName", baseTypeName); 244 fields.put("object", object); 247 fields.put("reference", reference instanceof Serializable ? reference : null);
|
/openjdk10/jdk/src/java.management/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...] |
/openjdk10/langtools/test/tools/javadoc/ |
H A D | BooleanConst.java | 54 FieldDoc[] fields = self.fields(); 55 if (fields.length != 2) 56 throw new Error("2 " + Arrays.asList(fields)); 57 for (int i=0; i<fields.length; i++) { 58 FieldDoc f = fields[i];
|
/openjdk10/nashorn/test/script/nosecurity/ |
H A D | debuggersupportapi.js | 33 // The following classes and the associated methods and fields are used as 35 // code should not be changed to remove these classes, fields and methods. 68 var fields = DebuggerValueDesc.class.declaredFields; variable 69 Arrays.sort(fields, function(f1, f2) f1.name.compareTo(f2.name)); 70 for each (var fld in fields) { 84 var fields = SourceInfo.class.declaredFields; variable 85 Arrays.sort(fields, function(f1, f2) f1.name.compareTo(f2.name)); 86 for each (var fld in fields) {
|
/openjdk10/jdk/src/java.management/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...] |
/openjdk10/jaxws/src/jdk.xml.bind/share/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.clone(); } method in class:BIInterface
|
/openjdk10/jaxws/src/jdk.xml.bind/share/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);
|
/openjdk10/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));
|
/openjdk10/jdk/src/java.management/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():""));
|
/openjdk10/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);
|
/openjdk10/hotspot/test/compiler/jvmci/jdk.vm.ci.runtime.test/src/jdk/vm/ci/runtime/test/ |
H A D | FieldUniverse.java | 36 public static final Map<Field, ResolvedJavaField> fields = new HashMap<>(); field in class:FieldUniverse 42 fields.put(f, field);
|