diff options
author | Yi Kong <yikong@google.com> | 2016-12-29 15:18:54 +0000 |
---|---|---|
committer | Yi Kong <yikong@google.com> | 2016-12-29 15:23:04 +0000 |
commit | db296900ef63a303586a57da5ae90f4ceefee008 (patch) | |
tree | 1211da6b0c07fedd1551dd7750ccdbb7bd7873fe /annotations/generate_annotated_java_files.py | |
parent | 92294f4a433d1e2efbcf5988820597ed782248a3 (diff) |
Fix NetworkInterface#getSubInterfaces throws NPE
childs array was not initialized when an interface has no subinterfaces.
Initialize childs array when contructing NetworkInterface.
Test: Libcore.java.net.NetworkInterface#testGetNetworkInterfaces
Bug: 33844501
Change-Id: I1c9a76165d30715f7f95d8f0d8c8a806949dd394
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions