public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libgcj/4383: file: protocol not supported in URLConnection?
@ 2001-09-30 0:42 bryce
0 siblings, 0 replies; 4+ messages in thread
From: bryce @ 2001-09-30 0:42 UTC (permalink / raw)
To: bryce, gcc-bugs, gcc-prs, java-prs, mattnewsome, nobody
Synopsis: file: protocol not supported in URLConnection?
Responsible-Changed-From-To: unassigned->bryce
Responsible-Changed-By: bryce
Responsible-Changed-When: Sun Sep 30 00:42:51 2001
Responsible-Changed-Why:
.
State-Changed-From-To: open->feedback
State-Changed-By: bryce
State-Changed-When: Sun Sep 30 00:42:51 2001
State-Changed-Why:
Could not reproduce.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=4383&database=gcc
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: libgcj/4383: file: protocol not supported in URLConnection?
@ 2002-01-27 17:09 rodrigc
0 siblings, 0 replies; 4+ messages in thread
From: rodrigc @ 2002-01-27 17:09 UTC (permalink / raw)
To: bryce, gcc-bugs, gcc-prs, java-prs, mattnewsome
Synopsis: file: protocol not supported in URLConnection?
State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Jan 27 17:09:07 2002
State-Changed-Why:
http://gcc.gnu.org/ml/gcc-cvs/2001-09/msg00554.html
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=4383
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: libgcj/4383: file: protocol not supported in URLConnection?
@ 2001-09-26 15:16 Tom Tromey
0 siblings, 0 replies; 4+ messages in thread
From: Tom Tromey @ 2001-09-26 15:16 UTC (permalink / raw)
To: nobody; +Cc: gcc-prs
The following reply was made to PR libgcj/4383; it has been noted by GNATS.
From: Tom Tromey <tromey@redhat.com>
To: mattnewsome@fuckmicrosoft.com
Cc: gcc-gnats@gcc.gnu.org
Subject: Re: libgcj/4383: file: protocol not supported in URLConnection?
Date: 26 Sep 2001 16:19:17 -0600
>>>>> "Matt" == mattnewsome <mattnewsome@fuckmicrosoft.com> writes:
Matt> Using a file: URL with URL.openConnection() to create a
Matt> URLConnection() throws a NullPointerException. Similarly for
Matt> any server name in an http: URL where that server name cannot be
Matt> resolved to via DNS.
Is there any way you could write a simple (as short as possible) test
case and send it to me? Please continue to CC gcc-gnats so it ends up
in the PR.
Thanks,
Tom
^ permalink raw reply [flat|nested] 4+ messages in thread
* libgcj/4383: file: protocol not supported in URLConnection?
@ 2001-09-24 8:56 mattnewsome
0 siblings, 0 replies; 4+ messages in thread
From: mattnewsome @ 2001-09-24 8:56 UTC (permalink / raw)
To: gcc-gnats; +Cc: mattnewsome
>Number: 4383
>Category: libgcj
>Synopsis: file: protocol not supported in URLConnection?
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: unassigned
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Sep 24 08:56:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator: Matt Newsome
>Release: gcj (gcc 3.0.1)
>Organization:
>Environment:
linux x86
>Description:
Using a file: URL with URL.openConnection() to create a URLConnection() throws a NullPointerException. Similarly for any server name in an http: URL where that server name cannot be resolved to via DNS.
Took me a while to realise why my code was producing an unexplained NullPointerException.
Not supporting file: is ok (though would be very useful) however the NPE is confusing and should be changed to something more meaningful if possible.
>How-To-Repeat:
More details if required - email me.
>Fix:
Use FileInputStream instead of URLConnection for file: URLs.
>Release-Note:
>Audit-Trail:
>Unformatted:
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-01-28 1:09 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-30 0:42 libgcj/4383: file: protocol not supported in URLConnection? bryce
-- strict thread matches above, loose matches on Subject: below --
2002-01-27 17:09 rodrigc
2001-09-26 15:16 Tom Tromey
2001-09-24 8:56 mattnewsome
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).