Commit d99c7b11 by Tom Tromey Committed by Tom Tromey

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
parent 9e236a9d
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> 2003-02-23 Tom Tromey <tromey@redhat.com>
* Makefile.in: Rebuilt. * Makefile.in: Rebuilt.
......
/* BufferedReader.java /* 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. This file is part of GNU Classpath.
...@@ -190,7 +190,7 @@ public class ByteArrayOutputStream extends OutputStream ...@@ -190,7 +190,7 @@ public class ByteArrayOutputStream extends OutputStream
* @return A <code>String</code> containing the data written to this * @return A <code>String</code> containing the data written to this
* stream so far * stream so far
* *
* @deprecrated * @deprecated
*/ */
public String toString (int hibyte) public String toString (int hibyte)
{ {
......
...@@ -380,7 +380,9 @@ public abstract class ClassLoader ...@@ -380,7 +380,9 @@ public abstract class ClassLoader
* @return the class defined. * @return the class defined.
* @exception java.lang.ClassNotFoundException * @exception java.lang.ClassNotFoundException
* @exception java.lang.LinkageError * @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) protected final Class defineClass(byte[] data, int off, int len)
throws ClassFormatError throws ClassFormatError
{ {
......
...@@ -297,6 +297,7 @@ public class Thread implements Runnable ...@@ -297,6 +297,7 @@ public class Thread implements Runnable
* Resume a suspended thread. * Resume a suspended thread.
* *
* @see #resume() * @see #resume()
* @deprecated pointless, since suspend is deprecated
*/ */
public final native void resume (); public final native void resume ();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment