--- old/src/share/classes/sun/rmi/rmic/resources/rmic.properties 2013-12-11 13:47:43.000000000 -0800 +++ new/src/share/classes/sun/rmi/rmic/resources/rmic.properties 2013-12-11 13:47:43.000000000 -0800 @@ -76,10 +76,10 @@ \nwhere includes:\ \n -keep Do not delete intermediate generated source files\ \n -keepgenerated (same as "-keep")\ -\n -v1.1 Create stubs/skeletons for 1.1 stub protocol version\ +\n -v1.1 Create stubs/skeletons for 1.1 stub protocol version (deprecated)\ \n -vcompat Create stubs/skeletons compatible with both\ -\n 1.1 and 1.2 stub protocol versions\ -\n -v1.2 (default) Create stubs for 1.2 stub protocol version only\ +\n 1.1 and 1.2 stub protocol versions (deprecated)\ +\n -v1.2 (default) Create stubs for 1.2 stub protocol version only (deprecated)\ \n -iiop Create stubs for IIOP. When present, also includes:\ \n\ \n -always Create stubs even when they appear current\ @@ -154,6 +154,12 @@ An IIOP "tie" exists for class {0}:\ \n {1}\ \nIf you use PortableRemoteObject.exportObject, you should remove this file; otherwise, your server object will be exported to IIOP rather than to JRMP. +rmic.jrmp.stubs.deprecated=\ + Warning: 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\ + \nstubs. See the documentation for java.rmi.server.UnicastRemoteObject. # # RMI-IIOP Messages