Searched refs:mh1 (Results 1 – 3 of 3) sorted by relevance
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/lang/invoke/ |
D | SerializedLambdaTest.java | 194 … Predicate<String> mh1 = (Predicate<String> & Serializable) SerializedLambdaTest::startsWithA; in testStaticMR() local 202 assertSerial(mh1, b); in testStaticMR() 214 BiPredicate<Moo, String> mh1 = (BiPredicate<Moo, String> & Serializable) Moo::startsWithB; in testUnboundMR() local 220 assertSerial(mh1, b); in testUnboundMR() 232 Predicate<String> mh1 = (Predicate<String> & Serializable) moo::startsWithB; in testBoundMRNotSerReceiver() local 240 assertNotSerial(mh1, b); in testBoundMRNotSerReceiver() 255 Predicate<String> mh1 = (Predicate<String> & Serializable) moo::startsWithB; in testBoundMR() local 263 assertSerial(mh1, b); in testBoundMR()
|
/libcore/luni/src/test/java/libcore/java/lang/invoke/ |
D | MethodHandlesTest.java | 318 MethodHandle mh1 = B.lookup.findSpecial(A.class /* refC */, "foo", in testfindSpecial_invokeSuperBehaviour() local 323 mh1.invokeExact(bInstance); in testfindSpecial_invokeSuperBehaviour() 327 mh1.invoke(bInstance); in testfindSpecial_invokeSuperBehaviour() 333 mh1.invoke(new A()); in testfindSpecial_invokeSuperBehaviour() 339 mh1.invokeExact(new A()); in testfindSpecial_invokeSuperBehaviour() 348 mh1.invoke(cInstance); in testfindSpecial_invokeSuperBehaviour()
|
D | ExplicitCastArgumentsTest.java | 217 MethodHandle mh1 = explicitCastArgumentToIdentity(ParentInterface.class, Child.class); in explicitCastArgumentOfInterfaceType_doesNotThrow() local 218 pi = (ParentInterface) mh1.invokeExact(new Child()); in explicitCastArgumentOfInterfaceType_doesNotThrow() 220 pi = (ParentInterface) mh1.invokeExact((Child) null); in explicitCastArgumentOfInterfaceType_doesNotThrow() 239 MethodHandle mh1 = explicitCastReturnValueFromIdentity(Child.class, in explicitCastReturnValueOfInterfaceType_doesNotThrow() local 241 pi = (ParentInterface) mh1.invokeExact(new Child()); in explicitCastReturnValueOfInterfaceType_doesNotThrow() 243 pi = (ParentInterface) mh1.invokeExact((Child) null); in explicitCastReturnValueOfInterfaceType_doesNotThrow()
|