diff --git a/libjava/ChangeLog b/libjava/ChangeLog index a4c2d2463de7c13cd4261f02c19fcb80552d4bca..c6346ef3886dae2bd88b2dc29493dd9b43a624d5 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 936884e264f4fd93f689a51792c3afe60dd5eb1c..a8d8f22d684023884daeda2fac251800a87b324c 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 5d564dce747b4021a6640b8b84c8ea37e01e5464..65c50bb11ef8d6a35d7f592ed738d62b581f28b4 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 33b0f450fa520f515cc40a073c3a6df83ec5071a..32f7d174580f3a219845b681377d583091599639 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 ();