summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2006-08-02 23:14:19 +0000
committerTom Tromey <tromey@redhat.com>2006-08-02 23:14:19 +0000
commit8f065a9a2887bc1e1633a733a36370129abcefe2 (patch)
tree0b70e8c81c4f047641e751e3e025d94ba2dc882f
parent0446524608a1cbb56643fa80238f6cbe38a33cec (diff)
downloadclasspath-8f065a9a2887bc1e1633a733a36370129abcefe2.tar.gz
2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
* java/net/URL.java (getContent(Class[])): Implement.
-rw-r--r--ChangeLog4
-rw-r--r--java/net/URL.java3
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index aa18d1084..8d9bf01c8 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2006-08-02 Thomas Minor <1nocentrabidlamb@sexMagnet.com>
+
+ * java/net/URL.java (getContent(Class[])): Implement.
+
2006-08-02 Roman Kennke <kennke@aicas.com>
PR 27624
diff --git a/java/net/URL.java b/java/net/URL.java
index 85037b3e7..ed7decc79 100644
--- a/java/net/URL.java
+++ b/java/net/URL.java
@@ -545,8 +545,7 @@ public final class URL implements Serializable
*/
public Object getContent(Class[] classes) throws IOException
{
- // FIXME: implement this
- return getContent();
+ return openConnection().getContent(classes);
}
/**