summaryrefslogtreecommitdiff
path: root/annotations/generate_annotated_java_files.py
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2016-08-05 14:24:01 +0100
committerYi Kong <yikong@google.com>2016-08-09 13:35:37 +0100
commit6d1649c5b37b21ef2b690bc0f86306e19a32db02 (patch)
tree15daedd2a0369db03624a76a7cf7ce0856c453e3 /annotations/generate_annotated_java_files.py
parent00ba1f693ba7aa8c819e61c6f53a90ddb4fe7145 (diff)
Move NetworkInterface logic away from JNI
OpenJDK implementation of NetworkInterface keeps a lot of logic inside JNI in order to support multiple platforms. The code is unmaintainable and has low performance. This patch moves NetworkInterface away from native implementation, and use libcore.io as the interface to underlying system call. It uses getifaddrs(3) to fetch all necessary network information and processes them within Java. Bug: 28609551 Test: Passes CTS tests Change-Id: If8466a18cbc3318219cb04122b1afa8712beb2bc
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions