OSDN Git Service

InetAddress refactoring.
authorLorenzo Colitti <lorenzo@google.com>
Tue, 25 Aug 2009 23:56:27 +0000 (16:56 -0700)
committerLorenzo Colitti <lorenzo@google.com>
Tue, 1 Sep 2009 21:02:27 +0000 (14:02 -0700)
commit94e11fc41d9bb7648932a21be7fa895c2432f610
treef8bc5c33a80990cc5ee8b8b560a038a66e631208
parent2c23efcdb5bf7e055caa166e56cfdd50011f02df
InetAddress refactoring.

1. Refactor all protocol-specific methods from InetAddress into Inet[46]Address.
2. Move all protocol-specific constants from InetAddress into Inet[46]Address.

This change should have no effect on the stack's behaviour but makes it easy to
find parts of the code that still have dependencies on IPv4 so they can be
examined and fixed.

Change-Id: I70860ee04cf7c01bffaa35c8c64199f69d99826f
libcore/luni/src/main/java/java/net/DatagramSocket.java
libcore/luni/src/main/java/java/net/Inet4Address.java
libcore/luni/src/main/java/java/net/Inet6Address.java
libcore/luni/src/main/java/java/net/InetAddress.java
libcore/luni/src/main/java/java/net/InetSocketAddress.java
libcore/luni/src/main/java/java/net/MulticastSocket.java
libcore/luni/src/main/java/java/net/ServerSocket.java
libcore/luni/src/main/java/java/net/Socket.java