This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
Re: [PATCH] java.net.DatagramSocket
- From: Tom Tromey <tromey at redhat dot com>
- To: Michael Koch <konqueror at gmx dot de>
- Cc: java-patches at gcc dot gnu dot org
- Date: 01 Mar 2003 17:04:38 -0700
- Subject: Re: [PATCH] java.net.DatagramSocket
- References: <200302271329.44727.konqueror@gmx.de>
- Reply-to: tromey at redhat dot com
>>>>> "Michael" == Michael Koch <konqueror at gmx dot de> writes:
Michael> Here a patch to fix some things in DatagramSocket.
Michael> Please review and comment.
Looks good to me; I've put this in 3.3.
Michael> catch (UnknownHostException ex)
Michael> {
Michael> - // FIXME: This should never happen, so how can we avoid this construct?
Michael> - return null;
Michael> + // FIXME: This should never happen, so how can we avoid this construct?
Michael> + return null;
We could throw some InternalError here. I'm so-so on that idea.
Otherwise, there's nothing to do; we can just remove the FIXME.
Tom