Andreas Gampe | 855564b | 2014-07-25 02:32:19 -0700 | [diff] [blame] | 1 | Native bridge initialized. |
jgu21 | a6da74e | 2014-09-10 06:57:17 -0400 | [diff] [blame] | 2 | Checking for getEnvValues. |
Andreas Gampe | 6be67ee | 2014-09-02 21:22:18 -0700 | [diff] [blame] | 3 | Ready for native bridge tests. |
Andreas Gampe | 855564b | 2014-07-25 02:32:19 -0700 | [diff] [blame] | 4 | Checking for support. |
Yong WU | f7a68c1 | 2014-08-03 16:06:52 +0800 | [diff] [blame] | 5 | Getting trampoline for JNI_OnLoad with shorty (null). |
Josh Gao | 6b2018f | 2017-05-04 13:55:28 -0700 | [diff] [blame] | 6 | Test ART callbacks: all JNI function number is 12. |
Yong WU | f7a68c1 | 2014-08-03 16:06:52 +0800 | [diff] [blame] | 7 | name:booleanMethod, signature:(ZZZZZZZZZZ)Z, shorty:ZZZZZZZZZZZ. |
| 8 | name:byteMethod, signature:(BBBBBBBBBB)B, shorty:BBBBBBBBBBB. |
| 9 | name:charMethod, signature:(CCCCCCCCCC)C, shorty:CCCCCCCCCCC. |
| 10 | name:shortMethod, signature:(SSSSSSSSSS)S, shorty:SSSSSSSSSSS. |
| 11 | name:testCallStaticVoidMethodOnSubClassNative, signature:()V, shorty:V. |
| 12 | name:testFindClassOnAttachedNativeThread, signature:()V, shorty:V. |
| 13 | name:testFindFieldOnAttachedNativeThreadNative, signature:()V, shorty:V. |
| 14 | name:testGetMirandaMethodNative, signature:()Ljava/lang/reflect/Method;, shorty:L. |
Jeff Hao | 848f70a | 2014-01-15 13:49:50 -0800 | [diff] [blame] | 15 | name:testNewStringObject, signature:()V, shorty:V. |
Andreas Gampe | 03c2cc8 | 2015-05-22 18:31:50 -0700 | [diff] [blame] | 16 | name:testSignal, signature:()I, shorty:I. |
Josh Gao | 6b2018f | 2017-05-04 13:55:28 -0700 | [diff] [blame] | 17 | name:testSignalHandlerNotReturn, signature:()V, shorty:V. |
Yong WU | f7a68c1 | 2014-08-03 16:06:52 +0800 | [diff] [blame] | 18 | name:testZeroLengthByteBuffers, signature:()V, shorty:V. |
| 19 | trampoline_JNI_OnLoad called! |
Mathieu Chartier | 598302a | 2015-09-23 14:52:39 -0700 | [diff] [blame] | 20 | JNI_OnLoad called |
Yong WU | f7a68c1 | 2014-08-03 16:06:52 +0800 | [diff] [blame] | 21 | Getting trampoline for Java_Main_testFindClassOnAttachedNativeThread with shorty V. |
| 22 | trampoline_Java_Main_testFindClassOnAttachedNativeThread called! |
| 23 | Getting trampoline for Java_Main_testFindFieldOnAttachedNativeThreadNative with shorty V. |
| 24 | trampoline_Java_Main_testFindFieldOnAttachedNativeThreadNative called! |
| 25 | Getting trampoline for Java_Main_testCallStaticVoidMethodOnSubClassNative with shorty V. |
| 26 | trampoline_Java_Main_testCallStaticVoidMethodOnSubClassNative called! |
| 27 | Getting trampoline for Java_Main_testGetMirandaMethodNative with shorty L. |
| 28 | trampoline_Java_Main_testGetMirandaMethodNative called! |
| 29 | Getting trampoline for Java_Main_testZeroLengthByteBuffers with shorty V. |
| 30 | trampoline_Java_Main_testZeroLengthByteBuffers called! |
| 31 | Getting trampoline for Java_Main_byteMethod with shorty BBBBBBBBBBB. |
| 32 | trampoline_Java_Main_byteMethod called! |
| 33 | trampoline_Java_Main_byteMethod called! |
| 34 | trampoline_Java_Main_byteMethod called! |
| 35 | trampoline_Java_Main_byteMethod called! |
| 36 | trampoline_Java_Main_byteMethod called! |
| 37 | trampoline_Java_Main_byteMethod called! |
| 38 | trampoline_Java_Main_byteMethod called! |
| 39 | Getting trampoline for Java_Main_shortMethod with shorty SSSSSSSSSSS. |
| 40 | trampoline_Java_Main_shortMethod called! |
| 41 | trampoline_Java_Main_shortMethod called! |
| 42 | trampoline_Java_Main_shortMethod called! |
| 43 | trampoline_Java_Main_shortMethod called! |
| 44 | trampoline_Java_Main_shortMethod called! |
| 45 | trampoline_Java_Main_shortMethod called! |
| 46 | trampoline_Java_Main_shortMethod called! |
| 47 | trampoline_Java_Main_shortMethod called! |
| 48 | trampoline_Java_Main_shortMethod called! |
| 49 | Getting trampoline for Java_Main_booleanMethod with shorty ZZZZZZZZZZZ. |
| 50 | trampoline_Java_Main_booleanMethod called! |
| 51 | trampoline_Java_Main_booleanMethod called! |
| 52 | Getting trampoline for Java_Main_charMethod with shorty CCCCCCCCCCC. |
| 53 | trampoline_Java_Main_charMethod called! |
| 54 | trampoline_Java_Main_charMethod called! |
| 55 | trampoline_Java_Main_charMethod called! |
| 56 | trampoline_Java_Main_charMethod called! |
| 57 | trampoline_Java_Main_charMethod called! |
| 58 | trampoline_Java_Main_charMethod called! |
| 59 | trampoline_Java_Main_charMethod called! |
| 60 | trampoline_Java_Main_charMethod called! |
Jeff Hao | 848f70a | 2014-01-15 13:49:50 -0800 | [diff] [blame] | 61 | Getting trampoline for Java_Main_testNewStringObject with shorty V. |
| 62 | trampoline_Java_Main_testNewStringObject called! |
Andreas Gampe | 03c2cc8 | 2015-05-22 18:31:50 -0700 | [diff] [blame] | 63 | Getting trampoline for Java_Main_testSignal with shorty I. |
| 64 | NB signal handler with signal 11. |
jgu21 | 0c7c55c | 2015-07-24 13:40:33 +0800 | [diff] [blame] | 65 | NB signal handler with signal 4. |
Josh Gao | d32d79d | 2018-02-26 14:29:25 -0800 | [diff] [blame] | 66 | NB signal handler with signal 11. |
| 67 | NB signal handler with signal 4. |
Yanbing Jiang | 2abb686 | 2017-01-17 13:23:43 +0800 | [diff] [blame] | 68 | Loading invalid library 'libinvalid.so' from Java, which will fail. |
| 69 | Checking for support. |
| 70 | Was to load 'libinvalid.so', force fail. |
| 71 | getError() in native bridge. |
| 72 | Catch UnsatisfiedLinkError exception as expected. |
Josh Gao | 6b2018f | 2017-05-04 13:55:28 -0700 | [diff] [blame] | 73 | Getting trampoline for Java_Main_testSignalHandlerNotReturn with shorty V. |
| 74 | start testSignalHandlerNotReturn |
| 75 | raising first SIGSEGV |
| 76 | NB signal handler with signal 11. |
| 77 | handling first SIGSEGV, will raise another |
| 78 | unblock SIGSEGV in handler |
| 79 | raising second SIGSEGV |
| 80 | NB signal handler with signal 11. |
| 81 | handling second SIGSEGV, will jump back to test function |
| 82 | back to test from signal handler via siglongjmp(), and done! |