Handle null file descriptors when finalizing SocketChannelImpl.
Unit test coming later as it requires it requires significant refactoring to make the code testable. Bug: 115296581 Test: atest CtsLibcoreTestCases:libcore.java.nio.channels.SocketChannelTest Test: atest CtsLibcoreTestCases:libcore.java.nio.channels.OldSocketChannelTest Test: atest CtsLibcoreTestCases:org.apache.harmony.tests.java.nio.channels.SocketChannelTest Test: Verified that manual repro steps in the bug no longer cause a crash Change-Id: I0501ac97905b728f2d90aa85867fd1edb38da46e
Loading
Please sign in to comment