Searched refs:tryFinally (Results 1 – 4 of 4) sorted by relevance
/libcore/ojluni/src/test/java/lang/invoke/ |
D | TryFinallyTest.java | 53 MethodHandle hello = MethodHandles.tryFinally(TryFinally.MH_greet, TryFinally.MH_exclaim); in testTryFinally() 76 MethodHandle tryFinally = MethodHandles.tryFinally( in testTryFinally() local 79 assertEquals(methodType(argType, argType), tryFinally.type()); in testTryFinally() 80 assertEquals(arg, tryFinally.invoke(arg)); in testTryFinally() 86 MethodHandle tryFinally = MethodHandles.tryFinally( in testTryFinallyException() local 89 assertEquals(methodType(argType, argType), tryFinally.type()); in testTryFinallyException() 90 tryFinally.invoke(arg); // should throw in testTryFinallyException() 95 … MethodHandle tfVoid = MethodHandles.tryFinally(TryFinally.MH_print, TryFinally.MH_printMore); in testTryFinallyVoid() 102 …MethodHandle helloMore = MethodHandles.tryFinally(TryFinally.MH_greetMore, TryFinally.MH_exclaimMo… in testTryFinallySublist() 121 MethodHandle tf = MethodHandles.tryFinally(TryFinally.MH_dummyTarget, cleanup); in testTryFinallyOmitTrailingArguments() [all …]
|
D | MethodHandlesGeneralTest.java | 1670 MethodHandle tf = MethodHandles.tryFinally(target, cleanup); in testTryFinally()
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
D | MethodHandles.java | 5608 public static MethodHandle tryFinally(MethodHandle target, MethodHandle cleanup) { in tryFinally() method
|
/libcore/api/ |
D | current.txt | 4715 …method public static java.lang.invoke.MethodHandle tryFinally(java.lang.invoke.MethodHandle, java.…
|