History log of /libcore/ojluni/src/main/native/Net.c
Revision Date Author Comments
02095df1f58b130e222e8525e6677e7c1e472b52 05-May-2016 Przemyslaw Szczepaniak <pszczepaniak@google.com> Move more clinit code to registration functions, part 3

Moved clinit code that fetches field/method ids
to JNI registration funcitons. This will allow to
compile-time initialize these classes.

Removed dead code in DefaultProxySelector.(java|c) that
was never called.

This is last change, remaining classes have either
dependencies that we can't work around, or required
change would make their code less maintainable.

Bug: 28153851
Change-Id: I9ef9a3c07d5cba9d4608110d94b55aada265e68f
(cherry picked from commit 4ef72d32afd6f6b81306b2664a6f3f30f6103ebf)
1a6762a724b1200eb826b2cdce21c0a4d7e2f594 22-Mar-2016 Yi Kong <yikong@google.com> Wire up SocketTagger

Tag all socket, accept and close calls.

Bug: 27291269
Bug: 27549426
Change-Id: I7c2edd0530306111765b900bd705532302d9b597
(cherry picked from commit a87f559f13ebd0861c0dfbb95b51e76311c94473)
11823c0942e6f9756b0a8bcfec386d9a64fc8a9a 05-Jan-2016 Przemyslaw Szczepaniak <pszczepaniak@google.com> Make sun.nio.ch.Net#connect throw ConnectException on error

openJdk7 SocketChannelImpl#connect throws SocketException when
the connect syscall fails. Pre-enso implementation thrown
ConnectException in this case. This change updates enso code
to throw the ConnectException.

Fixed #test_56684 test by trying to connect to 255.255.255.255,
which produces ENETUNREACH, like the pre-enso mock.

Bug: 25898575
Change-Id: I74212d03189a8d4a755c7cf328d5955368b32efc
09f993b04651359387d5e089b076994bb6cccc5f 18-Nov-2015 Narayan Kamath <narayan@google.com> Turn off obfuscation.

This change also contains a revert of ac740d8c4dd4c7c17ae9d32d.

Change-Id: Ie69ec7242576af80fce4d518a504d19ddd9dc580
ac740d8c4dd4c7c17ae9d32d0989c48b93697c88 04-Sep-2015 Narayan Kamath <narayan@google.com> Track proguard mapping for sun.nio.ch / sun.net.spi

Change-Id: I1ef3fbece2b44b08e6b2b5168ed34beeee341bd8
4785581aeda3525cf0480cb581860fd858000784 30-Jul-2015 Narayan Kamath <narayan@google.com> Build native code for the host.

Nothing too alarming, except for a change to deal with code
that assumed imr_multiaddr and imr_interface in ip_mreq were
uint32_t (like in the kernel UAPI) and not in_addr like they
are in glibc.

Change-Id: I98f7208939df12edb086e6cdf6f09cec0527ec50
3fc9afce8b41035aa1a93a87e942aab19cdc1ee1 07-Jul-2015 Przemyslaw Szczepaniak <pszczepaniak@google.com> Add sun.nio.ch.(Net|ServerSocketChannelImpl) native impl

And missing Inet6AddressImpl#getLocalHostName.
This fixes all remaining libcore.java.io.InterruptedStreamTest tests.

Change-Id: If0d569f17097e54a9860d8ad626a97821fa9272b