src/share/classes/java/rmi/server/RemoteRef.java

Print this page
rev 10048 : 8044740: Convert all JDK versions used in @since tag to 1.n[.n] in jdk repo
Reviewed-by:

@@ -31,11 +31,11 @@
  * <code>RemoteRef</code> represents the handle for a remote object. A
  * <code>RemoteStub</code> uses a remote reference to carry out a
  * remote method invocation to a remote object.
  *
  * @author  Ann Wollrath
- * @since   JDK1.1
+ * @since   1.1
  * @see     java.rmi.server.RemoteStub
  */
 public interface RemoteRef extends java.io.Externalizable {
 
     /** indicate compatibility with JDK 1.1.x version of class. */

@@ -82,11 +82,11 @@
      * invocation on this object.  Passing operation array and index,
      * allows the stubs generator to assign the operation indexes and
      * interpret them. The remote reference may need the operation to
      * encode in the call.
      *
-     * @since JDK1.1
+     * @since 1.1
      * @deprecated 1.2 style stubs no longer use this method. Instead of
      * using a sequence of method calls on the stub's the remote reference
      * (<code>newCall</code>, <code>invoke</code>, and <code>done</code>), a
      * stub uses a single method, <code>invoke(Remote, Method, Object[],
      * int)</code>, on the remote reference to carry out parameter

@@ -112,11 +112,11 @@
      * should pass through and not be caught by the stub.  If any
      * exception is raised during the remote invocation, invoke should
      * take care of cleaning up the connection before raising the
      * "user" or remote exception.
      *
-     * @since JDK1.1
+     * @since 1.1
      * @deprecated 1.2 style stubs no longer use this method. Instead of
      * using a sequence of method calls to the remote reference
      * (<code>newCall</code>, <code>invoke</code>, and <code>done</code>), a
      * stub uses a single method, <code>invoke(Remote, Method, Object[],
      * int)</code>, on the remote reference to carry out parameter

@@ -133,11 +133,11 @@
     /**
      * Allows the remote reference to clean up (or reuse) the connection.
      * Done should only be called if the invoke returns successfully
      * (non-exceptionally) to the stub.
      *
-     * @since JDK1.1
+     * @since 1.1
      * @deprecated 1.2 style stubs no longer use this method. Instead of
      * using a sequence of method calls to the remote reference
      * (<code>newCall</code>, <code>invoke</code>, and <code>done</code>), a
      * stub uses a single method, <code>invoke(Remote, Method, Object[],
      * int)</code>, on the remote reference to carry out parameter

@@ -155,22 +155,22 @@
      * Returns the class name of the ref type to be serialized onto
      * the stream 'out'.
      * @param out the output stream to which the reference will be serialized
      * @return the class name (without package qualification) of the reference
      * type
-     * @since JDK1.1
+     * @since 1.1
      */
     String getRefClass(java.io.ObjectOutput out);
 
     /**
      * Returns a hashcode for a remote object.  Two remote object stubs
      * that refer to the same remote object will have the same hash code
      * (in order to support remote objects as keys in hash tables).
      *
      * @return remote object hashcode
      * @see             java.util.Hashtable
-     * @since JDK1.1
+     * @since 1.1
      */
     int remoteHashCode();
 
     /**
      * Compares two remote objects for equality.

@@ -178,18 +178,18 @@
      * equivalent to the specified Object. This method is used when a
      * remote object is stored in a hashtable.
      * @param   obj     the Object to compare with
      * @return  true if these Objects are equal; false otherwise.
      * @see             java.util.Hashtable
-     * @since JDK1.1
+     * @since 1.1
      */
     boolean remoteEquals(RemoteRef obj);
 
     /**
      * Returns a String that represents the reference of this remote
      * object.
      * @return string representing remote object reference
-     * @since JDK1.1
+     * @since 1.1
      */
     String remoteToString();
 
 }