8217412: deprecate rmic for removal
authorsmarks
Tue, 04 Jun 2019 11:55:51 -0700
changeset 55205 ef23ea332077
parent 55204 0289438c1286
child 55206 2fe2063fe567
8217412: deprecate rmic for removal Reviewed-by: rriggs, sundar
src/jdk.rmic/share/classes/sun/rmi/rmic/resources/rmic.properties
src/jdk.rmic/share/man/rmic.1
--- a/src/jdk.rmic/share/classes/sun/rmi/rmic/resources/rmic.properties	Tue Jun 04 11:29:29 2019 -0700
+++ b/src/jdk.rmic/share/classes/sun/rmi/rmic/resources/rmic.properties	Tue Jun 04 11:55:51 2019 -0700
@@ -1,6 +1,6 @@
 #
 #
-# Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 1996, 2019, 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
@@ -136,8 +136,9 @@
 rmic.must.only.throw.exception=\
 	Method {0} is not a valid remote method implementation because it throws {1}; implementations of remote methods may only throw java.lang.Exception or its subclasses.
 rmic.jrmp.stubs.deprecated=\
-	Warning: generation and use of skeletons and static stubs for JRMP\
+        Warning: {0} has been deprecated and is subject to removal in a future\
+        \nrelease. Generation and use of skeletons and static stubs for JRMP\
 	\nis deprecated. Skeletons are unnecessary, and static stubs have\
-	\nbeen superseded by dynamically generated stubs. Users are\
-	\nencouraged to migrate away from using {0} to generate skeletons and static\
+	\nbeen superseded by dynamically generated stubs. Users are encouraged\
+	\nto migrate away from using this tool to generate skeletons and static\
 	\nstubs. See the documentation for java.rmi.server.UnicastRemoteObject.
--- a/src/jdk.rmic/share/man/rmic.1	Tue Jun 04 11:29:29 2019 -0700
+++ b/src/jdk.rmic/share/man/rmic.1	Tue Jun 04 11:55:51 2019 -0700
@@ -46,10 +46,12 @@
 .RE
 .SH DESCRIPTION
 .PP
-\f[B]Deprecation Note:\f[R] Support for static generation of Java Remote
-Method Protocol (JRMP) stubs and skeletons has been deprecated.
-Oracle recommends that you use dynamically generated JRMP stubs instead,
-eliminating the need to use this tool for JRMP\-based applications.
+\f[B]Deprecation Note:\f[R] The \f[CB]rmic\f[R] tool has been deprecated and
+is subject to removal in a future release. Support for static
+generation of Java Remote Method Protocol (JRMP) stubs and skeletons
+has been deprecated. Applications should use dynamically generated
+JRMP stubs, eliminating the need to use the \f[CB]rmic\f[R] tool for
+JRMP-based applications.
 .PP
 The \f[CB]rmic\f[R] compiler generates stub and skeleton class files using
 the JRMP.