ClassLoader.java (defineClass(byte[],int,int)): Deprecate.

* 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.

From-SVN: r63364
This commit is contained in:
Tom Tromey 2003-02-24 16:47:58 +00:00 committed by Tom Tromey
parent 9e236a9d66
commit d99c7b11c5
4 changed files with 14 additions and 3 deletions

View File

@ -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.

View File

@ -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)
{

View File

@ -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
{

View File

@ -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 ();