[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug classpath/25141] New: java.net.URL(URL context, String spec) const
From: |
berrange at redhat dot com |
Subject: |
[Bug classpath/25141] New: java.net.URL(URL context, String spec) constructor does not pass-through java.net.URLStreamHandler impl from context |
Date: |
28 Nov 2005 17:39:41 -0000 |
If one creates a base URL with a custom java.net.URLStreamHandler, eg
URL base = new URL("acme",
"www.redhat.com",
80,
"/docs/",
new ACMEHandler());
And, then create a second URL, using this original as the base context:
URL other = new URL(base, "manuals/enterprise/");
Then, the java.net.URL impl in ClassPath will throw
java.net.MalformedURLException: Protocol handler not found: acme
In the Sun / IBM JVMs, however, the 'ACMEHandler' object from the 'base' URL
will be passed through to the 'other' URL object, and no exception is thrown.
--
Summary: java.net.URL(URL context, String spec) constructor does
not pass-through java.net.URLStreamHandler impl from
context
Product: classpath
Version: 0.19
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: classpath
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: berrange at redhat dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25141
- [Bug classpath/25141] New: java.net.URL(URL context, String spec) constructor does not pass-through java.net.URLStreamHandler impl from context,
berrange at redhat dot com <=
- [Bug classpath/25141] java.net.URL(URL context, String spec) constructor does not pass-through java.net.URLStreamHandler impl from context, berrange at redhat dot com, 2005/11/28
- [Bug classpath/25141] java.net.URL(URL context, String spec) constructor does not pass-through java.net.URLStreamHandler impl from context, tromey at gcc dot gnu dot org, 2005/11/29
- [Bug classpath/25141] java.net.URL(URL context, String spec) constructor does not pass-through java.net.URLStreamHandler impl from context, cvs-commit at developer dot classpath dot org, 2005/11/29
- [Bug classpath/25141] java.net.URL(URL context, String spec) constructor does not pass-through java.net.URLStreamHandler impl from context, tromey at gcc dot gnu dot org, 2005/11/29