blob: 343a76247e9ae810348248be838b92f1aa342f9c [file] [log] [blame]
Andreas Gampe855564b2014-07-25 02:32:19 -07001Native bridge initialized.
jgu21a6da74e2014-09-10 06:57:17 -04002Checking for getEnvValues.
Andreas Gampe6be67ee2014-09-02 21:22:18 -07003Ready for native bridge tests.
Andreas Gampe855564b2014-07-25 02:32:19 -07004Checking for support.
Yong WUf7a68c12014-08-03 16:06:52 +08005Getting trampoline for JNI_OnLoad with shorty (null).
Josh Gao6b2018f2017-05-04 13:55:28 -07006Test ART callbacks: all JNI function number is 12.
Yong WUf7a68c12014-08-03 16:06:52 +08007 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 Hao848f70a2014-01-15 13:49:50 -080015 name:testNewStringObject, signature:()V, shorty:V.
Andreas Gampe03c2cc82015-05-22 18:31:50 -070016 name:testSignal, signature:()I, shorty:I.
Josh Gao6b2018f2017-05-04 13:55:28 -070017 name:testSignalHandlerNotReturn, signature:()V, shorty:V.
Yong WUf7a68c12014-08-03 16:06:52 +080018 name:testZeroLengthByteBuffers, signature:()V, shorty:V.
19trampoline_JNI_OnLoad called!
Mathieu Chartier598302a2015-09-23 14:52:39 -070020JNI_OnLoad called
Yong WUf7a68c12014-08-03 16:06:52 +080021Getting trampoline for Java_Main_testFindClassOnAttachedNativeThread with shorty V.
22trampoline_Java_Main_testFindClassOnAttachedNativeThread called!
23Getting trampoline for Java_Main_testFindFieldOnAttachedNativeThreadNative with shorty V.
24trampoline_Java_Main_testFindFieldOnAttachedNativeThreadNative called!
25Getting trampoline for Java_Main_testCallStaticVoidMethodOnSubClassNative with shorty V.
26trampoline_Java_Main_testCallStaticVoidMethodOnSubClassNative called!
27Getting trampoline for Java_Main_testGetMirandaMethodNative with shorty L.
28trampoline_Java_Main_testGetMirandaMethodNative called!
29Getting trampoline for Java_Main_testZeroLengthByteBuffers with shorty V.
30trampoline_Java_Main_testZeroLengthByteBuffers called!
31Getting trampoline for Java_Main_byteMethod with shorty BBBBBBBBBBB.
32trampoline_Java_Main_byteMethod called!
33trampoline_Java_Main_byteMethod called!
34trampoline_Java_Main_byteMethod called!
35trampoline_Java_Main_byteMethod called!
36trampoline_Java_Main_byteMethod called!
37trampoline_Java_Main_byteMethod called!
38trampoline_Java_Main_byteMethod called!
39Getting trampoline for Java_Main_shortMethod with shorty SSSSSSSSSSS.
40trampoline_Java_Main_shortMethod called!
41trampoline_Java_Main_shortMethod called!
42trampoline_Java_Main_shortMethod called!
43trampoline_Java_Main_shortMethod called!
44trampoline_Java_Main_shortMethod called!
45trampoline_Java_Main_shortMethod called!
46trampoline_Java_Main_shortMethod called!
47trampoline_Java_Main_shortMethod called!
48trampoline_Java_Main_shortMethod called!
49Getting trampoline for Java_Main_booleanMethod with shorty ZZZZZZZZZZZ.
50trampoline_Java_Main_booleanMethod called!
51trampoline_Java_Main_booleanMethod called!
52Getting trampoline for Java_Main_charMethod with shorty CCCCCCCCCCC.
53trampoline_Java_Main_charMethod called!
54trampoline_Java_Main_charMethod called!
55trampoline_Java_Main_charMethod called!
56trampoline_Java_Main_charMethod called!
57trampoline_Java_Main_charMethod called!
58trampoline_Java_Main_charMethod called!
59trampoline_Java_Main_charMethod called!
60trampoline_Java_Main_charMethod called!
Jeff Hao848f70a2014-01-15 13:49:50 -080061Getting trampoline for Java_Main_testNewStringObject with shorty V.
62trampoline_Java_Main_testNewStringObject called!
Andreas Gampe03c2cc82015-05-22 18:31:50 -070063Getting trampoline for Java_Main_testSignal with shorty I.
64NB signal handler with signal 11.
jgu210c7c55c2015-07-24 13:40:33 +080065NB signal handler with signal 4.
Yanbing Jiang2abb6862017-01-17 13:23:43 +080066Loading invalid library 'libinvalid.so' from Java, which will fail.
67Checking for support.
68Was to load 'libinvalid.so', force fail.
69getError() in native bridge.
70Catch UnsatisfiedLinkError exception as expected.
Josh Gao6b2018f2017-05-04 13:55:28 -070071Getting trampoline for Java_Main_testSignalHandlerNotReturn with shorty V.
72start testSignalHandlerNotReturn
73raising first SIGSEGV
74NB signal handler with signal 11.
75handling first SIGSEGV, will raise another
76unblock SIGSEGV in handler
77raising second SIGSEGV
78NB signal handler with signal 11.
79handling second SIGSEGV, will jump back to test function
80back to test from signal handler via siglongjmp(), and done!