This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi again, This commit adds some logic to InetAddress.getByAddress() to make it create an Inet4Address instead of Inet6Address when the byte array it is passed represents an IPv4-mapped IPv6 address. It also makes getByName() and getAllByName() defer to getByAddress() to take advantage of this. Cheers, Gary
Attachment:
patch
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |