aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/java/net/URL.java3
2 files changed, 7 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index e976ea9..e7e0f15 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,3 +1,8 @@
+2005-04-26 Mark Wielaard <mark@klomp.org>
+
+ * java/net/URL.java (URL(URL,String,URLStreamHandler)): Add spec
+ to MalformedURLException.
+
2005-04-26 Michael Koch <konqueror@gmx.de>
* java/security/AccessControlContext.java:
diff --git a/libjava/java/net/URL.java b/libjava/java/net/URL.java
index 7eb68cb..130b604 100644
--- a/libjava/java/net/URL.java
+++ b/libjava/java/net/URL.java
@@ -430,7 +430,8 @@ public final class URL implements Serializable
authority = context.authority;
}
else // Protocol NOT specified in spec. and no context available.
- throw new MalformedURLException("Absolute URL required with null context");
+ throw new MalformedURLException("Absolute URL required with null"
+ + " context: " + spec);
protocol = protocol.trim();