Skip to content
Permalink
Browse files
8225319: Remove rmic from the set of supported tools
Reviewed-by: erikj, alanb, lancea, jjg, amlu
  • Loading branch information
Roger Riggs committed Apr 8, 2020
1 parent c2efd22 commit 50ed53076fa885ac4fc7b969442ee8e40c47af61
Show file tree
Hide file tree
Showing 234 changed files with 28 additions and 49,808 deletions.
@@ -351,11 +351,6 @@ jdk.scripting.nashorn.shell_COPY += .js .properties

################################################################################

jdk.rmic_DISABLED_WARNINGS += deprecation
jdk.rmic_CLEAN += .properties

################################################################################

# No SCTP implementation on Mac OS X or AIX. These classes should be excluded.
SCTP_IMPL_CLASSES = \
$(TOPDIR)/src/jdk.sctp/unix/classes/sun/nio/ch/sctp/AssociationChange.java \
@@ -172,7 +172,6 @@ DOCS_MODULES += \
jdk.naming.rmi \
jdk.net \
jdk.nio.mapmode \
jdk.rmic \
jdk.scripting.nashorn \
jdk.sctp \
jdk.security.auth \

This file was deleted.

@@ -260,7 +260,6 @@ module:jdk.naming.rmi
module:jdk.net
jdk.net
jdk.nio
module:jdk.rmic
module:jdk.scripting.nashorn
jdk.nashorn.api.scripting
jdk.nashorn.api.tree
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -29,8 +29,7 @@
* An <code>Operation</code> contains a description of a Java method.
* <code>Operation</code> objects were used in JDK1.1 version stubs and
* skeletons. The <code>Operation</code> class is not needed for 1.2 style
* stubs (stubs generated with <code>rmic -v1.2</code>); hence, this class
* is deprecated.
* stubs; hence, this class is deprecated.
*
* @since 1.1
* @deprecated no replacement
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -30,11 +30,9 @@
* The <code>Skeleton</code> interface is used solely by the RMI
* implementation.
*
* <p> Every version 1.1 (and version 1.1 compatible skeletons generated in
* 1.2 using <code>rmic -vcompat</code>) skeleton class generated by the rmic
* stub compiler implements this interface. A skeleton for a remote object is
* a server-side entity that dispatches calls to the actual remote object
* implementation.
* <p> Every version 1.1 compatible skeleton implements this interface.
* A skeleton for a remote object is a server-side entity that dispatches calls
* to the actual remote object implementation.
*
* @author Ann Wollrath
* @since 1.1
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2004, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -33,7 +33,7 @@
* remote method names or signatures in this interface have changed or
* that the stub class used to make the call and the skeleton
* receiving the call were not generated by the same version of
* the stub compiler (<code>rmic</code>).
* the stub protocol.
*
* @author Roger Riggs
* @since 1.1
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1996, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -32,17 +32,14 @@

/**
* Used for exporting a remote object with JRMP and obtaining a stub
* that communicates to the remote object. Stubs are either generated
* at runtime using dynamic proxy objects, or they are generated statically
* at build time, typically using the {@code rmic} tool.
* that communicates to the remote object. Stubs are generated
* at runtime using dynamic proxy objects.
*
* <p><strong>Deprecated: Static Stubs.</strong> <em>Support for statically
* generated stubs is deprecated. This includes the API in this class that
* requires the use of static stubs, as well as the runtime support for
* loading static stubs. Generating stubs dynamically is preferred, using one
* of the non-deprecated ways of exporting objects as listed below. Do
* not run {@code rmic} to generate static stub classes. It is unnecessary, and
* it is also deprecated.</em>
* of the non-deprecated ways of exporting objects as listed below. </em>
*
* <p>There are eight ways to export remote objects:
*
@@ -90,10 +87,8 @@
* <p>The default value of the
* {@code java.rmi.server.ignoreStubClasses} property is {@code false}.
*
* <p>Statically generated stubs are typically pregenerated from the
* remote object's class using the {@code rmic} tool. A static stub is
* loaded and an instance of that stub class is constructed as described
* below.
* <p>Statically generated stubs are typically pregenerated from the remote object's class.
* A static stub is loaded and an instance of that stub class is constructed as described below.
*
* <ul>
*
@@ -1,5 +1,5 @@
/*
* Copyright (c) 1998, 2018, Oracle and/or its affiliates. All rights reserved.
* Copyright (c) 1998, 2020, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
@@ -24,31 +24,22 @@
*/

/**
* Provides classes and interfaces for supporting the server
* side of RMI. A group of classes are used by the stubs and skeletons
* generated by the rmic stub compiler. Another group of classes
* implements the RMI Transport protocol and HTTP tunneling.
*
* <p><strong>Deprecated: HTTP Tunneling.</strong> <em>The HTTP tunneling
* mechanism has been deprecated. See {@link java.rmi.server.RMISocketFactory} for
* further information.</em>
* Provides classes and interfaces for supporting the server side of RMI.
* One group of classes are used by the static stubs and skeletons.
* Another group of classes implements the RMI Transport protocol.
*
* <p><strong>Deprecated: Skeletons and Static Stubs.</strong>
*
* <em>Skeletons and statically generated stubs are deprecated. This
* includes the APIs in this package that require the use of skeletons
* or static stubs, the runtime support for them, and the use of the
* {@code rmic} stub compiler to generate them. Support for skeletons
* or static stubs and the runtime support for them. Support for skeletons
* and static stubs may be removed in a future release of the
* platform. Skeletons are unnecessary, as server-side method dispatching
* is handled directly by the RMI runtime. Statically generated stubs are
* unnecessary, as stubs are generated dynamically using {@link
* java.lang.reflect.Proxy Proxy} objects. See {@link
* java.rmi.server.UnicastRemoteObject UnicastRemoteObject} for
* information about dynamic stub generation. Generation of skeletons and
* static stubs was typically performed as part of an application's build
* process by calling the {@code rmic} tool. This is unnecessary, and
* calls to {@code rmic} can simply be omitted.</em>
* information about dynamic stub generation.</em>
*
* @since 1.1
*/

This file was deleted.

0 comments on commit 50ed530

Please sign in to comment.