/openjdk10/nashorn/test/script/basic/ |
H A D | NASHORN-120.js | 31 var obj1 = { 33 throw "inside obj1.toString"; 44 "hello".split(obj1, obj2); 53 "hello".split(obj1, 10); 56 if (e !== "inside obj1.toString") { 57 fail('#4: Exception === "obj1.toString" got: '+e);
|
H A D | NASHORN-382.js | 31 var obj1 = new JSAdapter() {}; 32 if (!(obj1 instanceof JSAdapter)) { 33 fail("#1 !(obj1 instanceof JSAdapter)");
|
H A D | JDK-8056978.js | 31 var obj1 = {
|
H A D | NASHORN-288.js | 31 var obj1 = {}; 32 obj1.foo = function() { 35 var obj2 = Object.create(obj1); 45 obj1.foo = 33;
|
H A D | NASHORN-136.js | 31 var obj1 = { 33 print("obj1.valueOf"); 38 print("obj1.toString"); 43 print("obj1 is " + obj1); 44 print(obj1 + 10); 62 print(obj1 + obj2); 74 print(obj1 + obj3);
|
H A D | JDK-8170594.js | 31 var obj1 = {x: "100"}; 36 })(obj1, true) 37 Assert.assertTrue(obj1.x === 100)
|
H A D | NASHORN-281.js | 44 var obj1 = {} 45 Object.preventExtensions(obj1); 48 func(obj1);
|
H A D | NASHORN-63.js | 67 var obj1 = {}; 68 var obj2 = obj1; 69 if (obj1 != obj2) {
|
H A D | newnew.js | 41 var obj1 = new myObject(); 45 for (i in obj1) print(i, obj1[i]);
|
H A D | getter_callsite.js | 39 var obj1 = newObj(42); 42 printFoo(obj1);
|
H A D | NASHORN-284.js | 31 var obj1 = { x : 44 }; 33 var obj2 = Object.create(obj1); 34 // shadow obj1.x here 45 // the following should expose obj1.x on obj3 47 // now, it should print obj1.x
|
H A D | calllink.js | 31 var obj1 = { 32 func: function() { print("obj1.func called"); } 63 var arr = [ obj1, obj2, obj3, obj4, obj5, obj6, 64 obj1, obj2, obj3, obj4, obj5, obj6 ];
|
H A D | NASHORN-192.js | 59 set: function(obj1, obj2, obj3) { 60 this.val = obj1;
|
/openjdk10/nashorn/test/script/maptests/ |
H A D | proto.js | 39 var obj1 = Object.create(proto); 42 assertSameMap(obj1, obj2); 45 assertSameMap(obj1, obj2); 48 assertSameMap(obj1, obj2); 51 assertSameMap(obj1, obj2); 54 assertSameMap(obj1, obj2);
|
H A D | property_add.js | 34 var obj1 = new Foo(); 37 assertSameMap(obj1, obj2); 43 addX(obj1, 3); 46 assertEqualWithoutTypeMap(obj1, obj2);
|
H A D | object_create.js | 33 var obj1 = Object.create(Object.prototype); 35 assertSameMap(obj1, obj2); 38 obj1 = Object.create(proto); 40 assertSameMap(obj1, obj2);
|
H A D | gettersetter.js | 39 var obj1 = Foo(); 42 assertSameMap(obj1, obj2, "Object literals before change"); 45 assertSameMap(obj1, obj2); 48 assertSameMap(obj1, obj2);
|
H A D | property_delete.js | 36 var obj1 = new Foo(); 39 assertSameMap(obj1, obj2); 45 deleteX(obj1); 48 assertEqualWithoutTypeMap(obj1, obj2);
|
H A D | maputil.js | 28 function assertSameMap(obj1, obj2, msg) { 29 if (! Debug.identical(Debug.map(obj1), Debug.map(obj2))) { 30 fail(obj1.constructor + " instances don't share map " + Debug.diffPropertyMaps(Debug.map(obj1), Debug.map(obj2))); 34 function assertNotSameMap(obj1, obj2, msg) { 35 if (Debug.identical(Debug.map(obj1), Debug.map(obj2))) { 36 fail(obj1.constructor + " and " + obj2.constructor + " instances share map"); 40 function assertEqualWithoutTypeMap(obj1, obj2, msg) { 41 if (!Debug.equalWithoutType(Debug.map(obj1), Debug.map(obj2))) { 42 fail(obj1 [all...] |
/openjdk10/langtools/test/tools/javac/generics/ |
H A D | GenericAnonCtor.java | 35 T1 obj1; field in class:A 38 obj1 = t1; 42 return (obj1 + " " + obj2).intern();
|
/openjdk10/hotspot/src/jdk.internal.vm.compiler/share/classes/org.graalvm.compiler.jtt/src/org/graalvm/compiler/jtt/lang/ |
H A D | Object_equals01.java | 36 final Object obj1 = new Object(); 40 return obj1.equals(field); 42 return obj1.equals(obj2); 44 return obj1.equals(null); 46 return obj1.equals(obj1); 56 return obj2.equals(obj1);
|
H A D | Object_hashCode02.java | 36 public static final Object obj1 = new Object(); field in class:Object_hashCode02 42 return obj1.hashCode();
|
/openjdk10/hotspot/test/runtime/SameObject/ |
H A D | libSameObject.c | 34 (JNIEnv *env, jobject obj1, jobject obj2) { 33 Java_SameObject_createWeakRef(JNIEnv *env, jobject obj1, jobject obj2) argument
|
/openjdk10/jdk/test/java/io/Externalizable/definesWriteObject/ |
H A D | DefinesWriteObject.java | 78 DefinesWriteObject obj1 = new DefinesWriteObject(5, "GoodBye"); 83 oos.writeObject(obj1); 95 if (obj1.intData != readObject1.intData || 99 if ( ! ((String)obj1.objData).equals((String)readObject1.objData) ||
|
/openjdk10/nashorn/test/script/nosecurity/parsernegativetests/ |
H A D | repeatedproperty.js | 30 var obj1 = { foo: 34, set foo(x) { } };
|