diff options
author | Shubham Ajmera <shubhamajmera@google.com> | 2016-11-29 16:57:47 +0000 |
---|---|---|
committer | Shubham Ajmera <shubhamajmera@google.com> | 2017-02-03 17:15:53 +0000 |
commit | 5ba24bd205f9c8ed2179a0a32859a529a795a4c3 (patch) | |
tree | d178fb3168977fff42149c6fe13185cabe98a87c /annotations/generate_annotated_java_files.py | |
parent | e6a019f653f8a2ff84c318612b05e72085815d2f (diff) |
Add CloseGuard checks in few classes
Add CloseGuard checks in few classes
DatagramChannelImpl: #implCloseSelectableChannel releases file descriptor.
FileChannelImpl: Releases file locks held and closes file descriptor.
UnixAsynchronousServerSocketChannelImpl: Releases file descriptor object.
UnixAsynchronousSocketChannelImpl: Releases file descriptor object.
LinuxWatchService.Poller: Frees unmanaged memory and releases file descriptor.
Also, added tests for closeguard support in the classes.
Test: cts-tradefed run cts -m CtsLibcoreTestCases
Change-Id: If75b09d40f399c1c97612675580b800ef07ccaa7
Diffstat (limited to 'annotations/generate_annotated_java_files.py')
0 files changed, 0 insertions, 0 deletions