summaryrefslogtreecommitdiff
path: root/tools/integrate/Module.java
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2009-10-26 16:38:13 -0700
committerElliott Hughes <enh@google.com>2009-10-27 13:59:26 -0700
commitd9179c4701153caeb821cf3da639b28465317508 (patch)
treef23d9cb8e129c3ee2deffc7b5d56a1e2888cb250 /tools/integrate/Module.java
parent31ba233988135e90b3e98548d9e40452639cf00c (diff)
Remove OSNetworkSystem.sendStream and all use of ErrorCodeException.
Removing OSNetworkSystem.sendStream brings us in line with harmony. I've also rewritten writeSocketImpl to not make a temporary copy of the data it's going to send. The weird code in writeSocketDirectImpl that threw ErrorCodeException turns out to be a very awkward way of returning zero to the only two callers that are paying attention. (Harmony actually calls the equivalent of this code every time it throws SocketException from native code, but these two callers were the only places that checked for the special case.)
Diffstat (limited to 'tools/integrate/Module.java')
0 files changed, 0 insertions, 0 deletions