[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/22699] Net subsystem fixes
From: |
gcc-bugzilla at gcc dot gnu dot org |
Subject: |
[Bug classpath/22699] Net subsystem fixes |
Date: |
16 Oct 2005 01:26:37 -0000 |
Various fixes for the net subsystem:
* errors thrown by InetSocketAddress are more explicit.
* prevent NullPointerException when doing a comparison (ala Sun)
(InetSocketAddress)
* InetSocketAddress.toString should build a string with the internal requested
hostname if that hostname cannot be solved.
* InetAddress:
- new LOOPBACK_BITS static field to store localhost address.
- IPV6 compatibility
- added isAnyAddress and isLoopbackAddress
* NetworkInterface (optional but recommanded):
- don't forget to load native library javanet
- native call getRealNetworkInterfaces return a Hashtable now instead of
a vector.
------- Comment #1 from from-classpath at savannah dot gnu dot org 2003-10-02
19:32 -------
I commited parts of the patch to classpath and libgcj. I left IPv6
compatibility out because of total incompleteness. This will get merged with
libgcj soon.
I dont think its a good idea in NetworkInterface to use Hashtable instead of
Vector.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22699
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug classpath/22699] Net subsystem fixes,
gcc-bugzilla at gcc dot gnu dot org <=