diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-24 16:47:58 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-02-24 16:47:58 +0000 |
commit | e6932620937d2accb84c3c84bf7f50f7c172613b (patch) | |
tree | e5fa4bb1f82ecba3d49980a1267200712edbbe6d /libjava | |
parent | 6bb14837b9d1643137a60da99a871bd564889c56 (diff) | |
download | gcc-e6932620937d2accb84c3c84bf7f50f7c172613b.tar.gz |
* java/lang/ClassLoader.java (defineClass(byte[],int,int)):
Deprecate.
* java/lang/Thread.java (resume): Deprecate.
* java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo
in @deprecated.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@63364 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r-- | libjava/ChangeLog | 8 | ||||
-rw-r--r-- | libjava/java/io/ByteArrayOutputStream.java | 4 | ||||
-rw-r--r-- | libjava/java/lang/ClassLoader.java | 4 | ||||
-rw-r--r-- | libjava/java/lang/Thread.java | 1 |
4 files changed, 14 insertions, 3 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a4c2d2463de..c6346ef3886 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -1,3 +1,11 @@ +2003-02-24 Tom Tromey <tromey@redhat.com> + + * java/lang/ClassLoader.java (defineClass(byte[],int,int)): + Deprecate. + * java/lang/Thread.java (resume): Deprecate. + * java/io/ByteArrayOutputStream.java (toString(int)): Fixed typo + in @deprecated. + 2003-02-23 Tom Tromey <tromey@redhat.com> * Makefile.in: Rebuilt. diff --git a/libjava/java/io/ByteArrayOutputStream.java b/libjava/java/io/ByteArrayOutputStream.java index 936884e264f..a8d8f22d684 100644 --- a/libjava/java/io/ByteArrayOutputStream.java +++ b/libjava/java/io/ByteArrayOutputStream.java @@ -1,5 +1,5 @@ /* BufferedReader.java - Copyright (C) 1998, 1999, 2000, 2001 Free Software Foundation, Inc. + Copyright (C) 1998, 1999, 2000, 2001, 2003 Free Software Foundation, Inc. This file is part of GNU Classpath. @@ -190,7 +190,7 @@ public class ByteArrayOutputStream extends OutputStream * @return A <code>String</code> containing the data written to this * stream so far * - * @deprecrated + * @deprecated */ public String toString (int hibyte) { diff --git a/libjava/java/lang/ClassLoader.java b/libjava/java/lang/ClassLoader.java index 5d564dce747..65c50bb11ef 100644 --- a/libjava/java/lang/ClassLoader.java +++ b/libjava/java/lang/ClassLoader.java @@ -380,7 +380,9 @@ public abstract class ClassLoader * @return the class defined. * @exception java.lang.ClassNotFoundException * @exception java.lang.LinkageError - * @see ClassLoader#defineClass(String,byte[],int,int) */ + * @see ClassLoader#defineClass(String,byte[],int,int) + * @deprecated use {@link #defineClass(String, byte[], int, int)} instead + */ protected final Class defineClass(byte[] data, int off, int len) throws ClassFormatError { diff --git a/libjava/java/lang/Thread.java b/libjava/java/lang/Thread.java index 33b0f450fa5..32f7d174580 100644 --- a/libjava/java/lang/Thread.java +++ b/libjava/java/lang/Thread.java @@ -297,6 +297,7 @@ public class Thread implements Runnable * Resume a suspended thread. * * @see #resume() + * @deprecated pointless, since suspend is deprecated */ public final native void resume (); |