src/share/classes/java/rmi/registry/LocateRegistry.java

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

@@ -49,11 +49,11 @@
  * the remote host.  Therefore, a subsequent method invocation to a remote
  * registry returned as a result of this method may fail.
  *
  * @author  Ann Wollrath
  * @author  Peter Jones
- * @since   JDK1.1
+ * @since   1.1
  * @see     java.rmi.registry.Registry
  */
 public final class LocateRegistry {
 
     /**

@@ -65,11 +65,11 @@
      * Returns a reference to the the remote object <code>Registry</code> for
      * the local host on the default registry port of 1099.
      *
      * @return reference (a stub) to the remote object registry
      * @exception RemoteException if the reference could not be created
-     * @since JDK1.1
+     * @since 1.1
      */
     public static Registry getRegistry()
         throws RemoteException
     {
         return getRegistry(null, Registry.REGISTRY_PORT);

@@ -80,11 +80,11 @@
      * the local host on the specified <code>port</code>.
      *
      * @param port port on which the registry accepts requests
      * @return reference (a stub) to the remote object registry
      * @exception RemoteException if the reference could not be created
-     * @since JDK1.1
+     * @since 1.1
      */
     public static Registry getRegistry(int port)
         throws RemoteException
     {
         return getRegistry(null, port);

@@ -96,11 +96,11 @@
      * <code>host</code> is <code>null</code>, the local host is used.
      *
      * @param host host for the remote registry
      * @return reference (a stub) to the remote object registry
      * @exception RemoteException if the reference could not be created
-     * @since JDK1.1
+     * @since 1.1
      */
     public static Registry getRegistry(String host)
         throws RemoteException
     {
         return getRegistry(host, Registry.REGISTRY_PORT);

@@ -113,11 +113,11 @@
      *
      * @param host host for the remote registry
      * @param port port on which the registry accepts requests
      * @return reference (a stub) to the remote object registry
      * @exception RemoteException if the reference could not be created
-     * @since JDK1.1
+     * @since 1.1
      */
     public static Registry getRegistry(String host, int port)
         throws RemoteException
     {
         return getRegistry(host, port, null);

@@ -195,11 +195,11 @@
      * instance constructed with the value {@link ObjID#REGISTRY_ID}.
      *
      * @param port the port on which the registry accepts requests
      * @return the registry
      * @exception RemoteException if the registry could not be exported
-     * @since JDK1.1
+     * @since 1.1
      **/
     public static Registry createRegistry(int port) throws RemoteException {
         return new RegistryImpl(port);
     }