Lines Matching refs:Long
69 # Returns a method handle to boolean java.lang.Long.compareTo(java.lang.Long other).
72 new-instance v0, Ljava/lang/Long;
74 invoke-direct {v0, v1, v2}, Ljava/lang/Long;-><init>(J)V
81 # Call MethodType.methodType(rtype=int.class, ptype[0] = Long.class)
86 # Call Main.getHandleForVirtual(Long.class, "compareTo", methodType);
119 # set v0 to Long.TYPE aka. long.class
120 sget-object v0, Ljava/lang/Long;->TYPE:Ljava/lang/Class;
127 # Call MethodType.methodType(rtype=String.class, ptype[0]=Long.class)
192 # Then use a java/lang/Long; - should perform an unboxing conversion.
193 new-instance v1, Ljava/lang/Long;
195 invoke-direct {v1, v2, v3}, Ljava/lang/Long;-><init>(J)V
196 …/MethodHandle;->invoke([Ljava/lang/Object;)Ljava/lang/Object;, (Ljava/lang/Long;)Ljava/lang/String;
210 # Test case 5: Exercise int Long.compareTo(Long)
213 new-instance v1, Ljava/lang/Long;
215 invoke-direct {v1, v2, v3}, Ljava/lang/Long;-><init>(J)V
219 # Call compareTo(Long) - this is invokeExact semantics.
220 …e/MethodHandle;->invoke([Ljava/lang/Object;)Ljava/lang/Object;, (Ljava/lang/Long;Ljava/lang/Long;)I
227 …java/lang/invoke/MethodHandle;->invoke([Ljava/lang/Object;)Ljava/lang/Object;, (Ljava/lang/Long;J)I
233 …hrows WrongMethodTypeException as it's a two step conversion int->long->Long or int->Integer->Long.
235 …java/lang/invoke/MethodHandle;->invoke([Ljava/lang/Object;)Ljava/lang/Object;, (Ljava/lang/Long;I)I