InetAddress.java (getByAddress): Create Inet4Address objects when passed IPv4-mapped...
authorGary Benson <gbenson@redhat.com>
Fri, 1 Sep 2006 13:30:50 +0000 (13:30 +0000)
committerGary Benson <gary@gcc.gnu.org>
Fri, 1 Sep 2006 13:30:50 +0000 (13:30 +0000)
commit39aa3581c4e83d5c54196ae2f332b3a7d62e4ec8
tree52f344367b501078daeb91eb7f717f7c9c03946a
parent7229b95cc036b978a526c77395c028320621765f
InetAddress.java (getByAddress): Create Inet4Address objects when passed IPv4-mapped IPv6 addresses.

2006-09-01  Gary Benson  <gbenson@redhat.com>

* java/net/InetAddress.java (getByAddress): Create Inet4Address
objects when passed IPv4-mapped IPv6 addresses.
(getByName, getAllByName): Defer to the above to ensure that the
correct Inet*Address objects are returned.

From-SVN: r116622
libjava/ChangeLog
libjava/java/net/InetAddress.java