]> gcc.gnu.org Git - gcc.git/commitdiff
2003-03-31 Michael Koch <konqueror@gmx.de>
authorMichael Koch <konqueror@gmx.de>
Mon, 31 Mar 2003 06:49:33 +0000 (06:49 +0000)
committerMichael Koch <mkoch@gcc.gnu.org>
Mon, 31 Mar 2003 06:49:33 +0000 (06:49 +0000)
* java/rmi/server/LoaderHandler.java
(loadClass): Deprecated.
(getSecurityContext): Deprecated.
* java/rmi/server/LogStream.java
(getDefaultStream): Deprecated.
(setDefaultStream): Deprecated.
(getOutputStream): Deprecated.
(setOutputStream): Deprecated.
(write): Deprecated.
(toString): Deprecated.
(parseLevel): Deprecated.
* java/rmi/server/Operation.java
(Operation): Deprecated.
(getOperation): Deprecated.
(toString): Deprecated.
* java/rmi/server/RemoteCall.java
(getOutputStream): Deprecated.
(releaseOutputStream): Deprecated.
(getInputStream): Deprecated.
(releaseInputStream): Deprecated.
(getResultStream): Deprecated.
(executeCall): Deprecated.
(done): Deprecated.
* java/rmi/server/RemoteRef.java
(invoke): Deprecated.
(newCall): Deprecated.
(done): Deprecated.
* java/rmi/server/RemoteStub.java
(setRef): Deprecated.
* java/rmi/server/Skeleton.java:
No need to import java.lang.Exception explicitly.
(dispatch): Deprecated.
(getOperations): Deprecated.

From-SVN: r65079

libjava/ChangeLog
libjava/java/rmi/server/LoaderHandler.java
libjava/java/rmi/server/LogStream.java
libjava/java/rmi/server/Operation.java
libjava/java/rmi/server/RemoteCall.java
libjava/java/rmi/server/RemoteRef.java
libjava/java/rmi/server/RemoteStub.java
libjava/java/rmi/server/Skeleton.java

index 393d82af9bec98f118f7c1c83c99dc9d04df9919..426e897ca88dea2c19c02b145800938c041902e7 100644 (file)
@@ -1,3 +1,39 @@
+2003-03-31  Michael Koch  <konqueror@gmx.de>
+
+       * java/rmi/server/LoaderHandler.java
+       (loadClass): Deprecated.
+       (getSecurityContext): Deprecated.
+       * java/rmi/server/LogStream.java
+       (getDefaultStream): Deprecated.
+       (setDefaultStream): Deprecated.
+       (getOutputStream): Deprecated.
+       (setOutputStream): Deprecated.
+       (write): Deprecated.
+       (toString): Deprecated.
+       (parseLevel): Deprecated.
+       * java/rmi/server/Operation.java
+       (Operation): Deprecated.
+       (getOperation): Deprecated.
+       (toString): Deprecated.
+       * java/rmi/server/RemoteCall.java
+       (getOutputStream): Deprecated.
+       (releaseOutputStream): Deprecated.
+       (getInputStream): Deprecated.
+       (releaseInputStream): Deprecated.
+       (getResultStream): Deprecated.
+       (executeCall): Deprecated.
+       (done): Deprecated.
+       * java/rmi/server/RemoteRef.java
+       (invoke): Deprecated.
+       (newCall): Deprecated.
+       (done): Deprecated.
+       * java/rmi/server/RemoteStub.java
+       (setRef): Deprecated.
+       * java/rmi/server/Skeleton.java:
+       No need to import java.lang.Exception explicitly.
+       (dispatch): Deprecated.
+       (getOperations): Deprecated.
+
 2003-03-31  Michael Koch  <konqueror@gmx.de>
 
        * java/rmi/dgc/VMID.java,
index f6003069b4cf4f12db4d1a62c21e05e78f32b888..872585d4c55ca08a41571749844ec24bff9aaa0a 100644 (file)
@@ -47,11 +47,20 @@ public interface LoaderHandler
 {
   public static final String packagePrefix = "";
 
+  /**
+   * @deprecated
+   */
   public Class loadClass(String name)
     throws MalformedURLException, ClassNotFoundException;
 
+  /**
+   * @deprecated
+   */
   public Class loadClass(URL codebase, String name)
     throws MalformedURLException, ClassNotFoundException;
 
+  /**
+   * @deprecated
+   */
   public Object getSecurityContext(ClassLoader loader);
 }
index 2f4fe764f3000867d62bb77c7f1b200685edb0d1..5bf0689413b4ac645530c978660d0a02ed63a3df 100644 (file)
@@ -65,41 +65,65 @@ public class LogStream extends PrintStream
     throw new Error ("Not implemented");
   }
 
+  /**
+   * @deprecated
+   */
   public static PrintStream getDefaultStream ()
   {
     return defStream;
   }
   
+  /**
+   * @deprecated
+   */
   public static void setDefaultStream (PrintStream s)
   {
     defStream = s;
   }
 
+  /**
+   * @deprecated
+   */
   public OutputStream getOutputStream ()
   {
     return out;
   }
 
+  /**
+   * @deprecated
+   */
   public void setOutputStream (OutputStream s)
   {
     out = s;
   }
 
+  /**
+   * @deprecated
+   */
   public void write (int buffer)
   {
     super.write (buffer);
   }
 
+  /**
+   * @deprecated
+   */
   public void write (byte[] buffer, int offset, int len)
   {
     super.write (buffer, offset, len);
   }
 
+  /**
+   * @deprecated
+   */
   public String toString ()
   {
     throw new Error ("Not implemented");
   }
 
+  /**
+   * @deprecated
+   */
   public static int parseLevel (String s)
   {
     if (s.equalsIgnoreCase ("silent"))
index 6fd408c997528d56ef67fab90f9e111374fe135d..477446cbbeb1da75de43ac2b728c06ec91557f75 100644 (file)
@@ -44,16 +44,25 @@ public class Operation
 {
   private String operation;
 
+  /**
+   * @deprecated
+   */
   public Operation (String op)
   {
     operation = op;
   }
 
+  /**
+   * @deprecated
+   */
   public String getOperation ()
   {
     return operation;
   }
 
+  /**
+   * @deprecated
+   */
   public String toString ()
   {
     return operation;
index 7621152b688b96cb51b019dd824982d3ebec749b..bccbaf1be152186e566636904cd9595fb13f7f15 100644 (file)
@@ -48,18 +48,39 @@ import java.io.StreamCorruptedException;
  */
 public interface RemoteCall
 {
+  /**
+   * @deprecated
+   */
   public ObjectOutput getOutputStream () throws IOException;
 
+  /**
+   * @deprecated
+   */
   public void releaseOutputStream () throws IOException;
 
+  /**
+   * @deprecated
+   */
   public ObjectInput getInputStream () throws IOException;
 
+  /**
+   * @deprecated
+   */
   public void releaseInputStream () throws IOException;
 
+  /**
+   * @deprecated
+   */
   public ObjectOutput getResultStream (boolean success)
     throws IOException, StreamCorruptedException;
 
+  /**
+   * @deprecated
+   */
   public void executeCall () throws Exception;
 
+  /**
+   * @deprecated
+   */
   public void done () throws IOException;
 }
index d9f92320897bb92c104a05dc59d6d2d4ff35ea00..c9abfd6724223c260649986cf36c27fb61207989 100644 (file)
@@ -49,15 +49,24 @@ public interface RemoteRef extends Externalizable
   
   public static final String packagePrefix = "gnu.java.rmi.server";
 
+  /**
+   * @deprecated
+   */
   public void invoke(RemoteCall call) throws Exception;
   
   public Object invoke (Remote obj, Method method, Object[] params, long opnum)
     throws Exception;
   
+  /**
+   * @deprecated
+   */
   public RemoteCall newCall (RemoteObject obj, Operation[] op, int opnum,
                              long hash)
     throws RemoteException;
 
+  /**
+   * @deprecated
+   */
   public void done (RemoteCall call) throws RemoteException;
   
   public boolean remoteEquals (RemoteRef ref);
index cc6b58939ce6ff22680d838a7f6f7ec93b62c2ae..07b61d64a00788890c1f13d567da725f8970e66c 100644 (file)
@@ -51,6 +51,9 @@ public abstract class RemoteStub extends RemoteObject
     super (ref);
   }
 
+  /**
+   * @deprecated
+   */
   protected static void setRef (RemoteStub stub,  RemoteRef ref)
   {
     stub.ref = ref;
index a341894af5c3fcb96102c5be972759f85bf2124d..751639430dc683e86cc9258113c105e30731418d 100644 (file)
@@ -38,7 +38,6 @@ exception statement from your version. */
 package java.rmi.server;
 
 import java.rmi.Remote;
-import java.lang.Exception;
 import java.rmi.server.RemoteCall;
 
 /**
@@ -46,8 +45,14 @@ import java.rmi.server.RemoteCall;
  */
 public interface Skeleton
 {
+  /**
+   * @deprecated
+   */
   public void dispatch (Remote obj, RemoteCall theCall, int opnum, long hash)
     throws Exception;
 
+  /**
+   * @deprecated
+   */
   public Operation[] getOperations();
 }
This page took 0.107665 seconds and 5 git commands to generate.