[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch: fixing #7941
From: |
Michael Koch |
Subject: |
Patch: fixing #7941 |
Date: |
Thu, 29 Apr 2004 23:19:24 +0200 |
User-agent: |
KMail/1.5.4 |
Hi list,
I just commited the attached patch to fix bug #7941.
InetAddress.getByName("127.0.01") did not return an object which is an
instance of Inet4Address. It returned a simple InetAddress object.
Michael
2004-04-29 Michael Koch <address@hidden>
* java/net/InetAddress.java
(static): ANY_IF should be an instance of Inet4Address.
(InetAddress): Remove unused constructors.
(getByName): Create instance of Inet4Address for IPv4 addresses.
(getAllByName): Likewise.
(getInaddrAny): Likewise.
* java/net/Inet4Address.java
(Inet4Address): New constructor which takes hostname_alias. route all
other construtors through this one.
* java/net/Inet6Address.java
(Inet6Address): Call correct super constructor.
inet.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Patch: fixing #7941,
Michael Koch <=