# HG changeset patch # User smarks # Date 1559674551 25200 # Node ID ef23ea332077f7b406db8180de3450e87cd31444 # Parent 0289438c1286ae13d581a9c76987edd46f32e9f1 8217412: deprecate rmic for removal Reviewed-by: rriggs, sundar diff -r 0289438c1286 -r ef23ea332077 src/jdk.rmic/share/classes/sun/rmi/rmic/resources/rmic.properties --- 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. diff -r 0289438c1286 -r ef23ea332077 src/jdk.rmic/share/man/rmic.1 --- 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.