bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug inetlib/28168] NullPointerException in SMTPConnection.getResponse()


From: tromey at gcc dot gnu dot org
Subject: [Bug inetlib/28168] NullPointerException in SMTPConnection.getResponse()
Date: 17 Jul 2006 20:32:36 -0000


------- Comment #1 from tromey at gcc dot gnu dot org  2006-07-17 20:32 -------
To me the code looks as though it still has this bug.
Presumably it can occur if the server closes the connection immediately
in response to a QUIT request.

Perhaps getResponse() ought to throw an IOException (or really
ProtocolException)
when line==null.


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-07-17 20:32:35
               date|                            |


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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]