diff options
author | Luis Hector Chavez <lhchavez@google.com> | 2018-04-09 14:45:42 -0700 |
---|---|---|
committer | Neil Fuller <nfuller@google.com> | 2018-04-10 14:55:23 +0000 |
commit | 68997dc82c20258a27ee1a33642e0275abda272a (patch) | |
tree | 26d03f289f0a410511e91eb65f29212e4524ae78 /annotations/generate_annotated_java_files.py | |
parent | 6615f1a549378172c43a67eaa2608ed9c65e7449 (diff) |
Avoid a spurious NullPointerException in java.net.Inet6AddressImpl#icmpEcho
This change adds a couple of null-checks that prevent
NullPointerExceptions while closing the FileDescriptor in
java.net.Inet6AddressImpl#icmpEcho.
Bug: 77818332
Bug: 77836332
Test: CtsLibcoreTestCases
Change-Id: Id00bfe7da1f7b542acaf5431494176da39817e0f
Merged-In: Id00bfe7da1f7b542acaf5431494176da39817e0f
(cherry picked from commit 43b6852f2379af08c6bbc59832900d99f4141a40)
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions