public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
From: "goryachev at yahoo dot com" <gcc-bugzilla@gcc.gnu.org>
To: java-prs@gcc.gnu.org
Subject: [Bug java/14695] New: java.net.NetworkInterface.getByName() throws exception instead of returning null
Date: Tue, 23 Mar 2004 17:35:00 -0000	[thread overview]
Message-ID: <20040323173516.14695.goryachev@yahoo.com> (raw)

This function throws an exception in a case when networr interface by this name
is not found.  Should return null.

Sun's javadoc -


public static NetworkInterface getByName(String name)
                                  throws SocketException

    Searches for the network interface with the specified name.

    Parameters:
        name - The name of the network interface. 
    Returns:
        A NetworkInterface with the specified name, or null if there is no
network interface with the specified name. 
    Throws:
        SocketException - If an I/O error occurs. 
        NullPointerException - If the specified name is null.

-- 
           Summary: java.net.NetworkInterface.getByName() throws exception
                    instead of returning null
           Product: gcc
           Version: 3.3.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: goryachev at yahoo dot com
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: 3.3.2
  GCC host triplet: x86-linux
GCC target triplet: arm-linux


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14695


             reply	other threads:[~2004-03-23 17:35 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-23 17:35 goryachev at yahoo dot com [this message]
2004-03-23 17:40 ` [Bug libgcj/14695] " pinskia at gcc dot gnu dot org
2004-05-03 14:41 ` cvs-commit at gcc dot gnu dot org
2004-05-03 15:03 ` [Bug libgcj/14695] [3.3/3.4 only] " pinskia at gcc dot gnu dot org
2004-05-03 19:30 ` cvs-commit at gcc dot gnu dot org
2004-05-03 19:32 ` cvs-commit at gcc dot gnu dot org
2004-05-03 19:33 ` pinskia at gcc dot gnu dot org
2004-06-24  5:32 ` cvs-commit at gcc dot gnu dot org
2004-06-24 17:16 ` cvs-commit at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040323173516.14695.goryachev@yahoo.com \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=java-prs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).