diff options
author | Lorenzo Colitti <lorenzo@google.com> | 2019-03-21 21:26:57 +0900 |
---|---|---|
committer | Lorenzo Colitti <lorenzo@google.com> | 2019-03-22 21:03:38 +0900 |
commit | 7fdf2272c4f9519e2e155e7c198e6482558f97c0 (patch) | |
tree | 7529b14f8f89c8c386eb31a9c6ba0f9e4625cc3e /annotations/generate_annotated_java_files.py | |
parent | ec10005a729ef097d41967bb011024336f59f36f (diff) |
Add tests for passing null to bind, sendto and connect.
Many of these are commented out due to:
03-21 20:22:33.425 6172 6172 F DEBUG : Abort message: 'JNI DETECTED ERROR IN APPLICATION: field operation on NULL object: 0x0
03-21 20:22:33.425 6172 6172 F DEBUG : in call to GetObjectField
03-21 20:22:33.425 6172 6172 F DEBUG : from void libcore.io.Linux.bind(java.io.FileDescriptor, java.net.SocketAddress)'
...
03-21 20:22:33.505 6172 6172 F DEBUG : #06 pc 0000000000390f3c /apex/com.android.runtime/lib64/libart.so (art::(anonymous namespace)::CheckJNI::GetField(char const*, _JNIEnv*, _jobject*, _jfieldID*, bool, art::Primitive::Type)+860)
03-21 20:22:33.505 6172 6172 F DEBUG : #07 pc 0000000000035228 /apex/com.android.runtime/lib64/libjavacore.so (javaInetSocketAddressToInetAddressAndPort(_JNIEnv*, _jobject*, _jobject*&, int&)+72)
Bug: 126699941
Test: atest CtsLibcoreTestCases:libcore.libcore.io.OsTest#testCrossFamilyBindConnectSendto
Change-Id: Ia8d00990306ae01657a52a5e72d5cf0b867d79ff
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions