src/share/classes/sun/rmi/rmic/resources/rmic.properties

Print this page
rev 8933 : 8027536: rmic: add deprecation warning message when generating JRMP static stubs/skeletons
Reviewed-by: XXX


  59 generator.class.vcompat=sun.rmi.rmic.RMIGenerator
  60 generator.class.v1.2=sun.rmi.rmic.RMIGenerator
  61 generator.class.iiop=sun.rmi.rmic.iiop.StubGenerator
  62 generator.class.idl=sun.rmi.rmic.iiop.IDLGenerator
  63 generator.class.xprint=sun.rmi.rmic.iiop.PrintGenerator
  64 
  65 # If a generator needs a BatchEnvironment other than
  66 # sun.rmi.rmic.BatchEnvironment, specify it as follows:
  67 #
  68 #     generator.env.{arg}=fullClassName
  69 
  70 generator.env.iiop=sun.rmi.rmic.iiop.BatchEnvironment
  71 generator.env.idl=sun.rmi.rmic.iiop.BatchEnvironment
  72 generator.env.xprint=sun.rmi.rmic.iiop.BatchEnvironment
  73 
  74 rmic.usage=Usage: {0} <options> <class names>\
  75 \n\
  76 \nwhere <options> includes:\
  77 \n  -keep          Do not delete intermediate generated source files\
  78 \n  -keepgenerated (same as "-keep")\
  79 \n  -v1.1          Create stubs/skeletons for 1.1 stub protocol version\
  80 \n  -vcompat       Create stubs/skeletons compatible with both\
  81 \n                           1.1 and 1.2 stub protocol versions\
  82 \n  -v1.2          (default) Create stubs for 1.2 stub protocol version only\
  83 \n  -iiop          Create stubs for IIOP. When present, <options> also includes:\
  84 \n\
  85 \n                   -always           Create stubs even when they appear current\
  86 \n                   -alwaysgenerate   (same as "-always")\
  87 \n                   -nolocalstubs     Do not create stubs optimized for same process\
  88 \n\
  89 \n  -idl           Create IDL. When present, <options> also includes:\
  90 \n\
  91 \n                   -noValueMethods   Do not generate methods for valuetypes \
  92 \n                   -always           Create IDL even when it appears current\
  93 \n                   -alwaysgenerate   (same as "-always")\
  94 \n\
  95 \n  -g             Generate debugging info\
  96 \n  -nowarn        Generate no warnings\
  97 \n  -nowrite       Do not write compiled classes to the file system\
  98 \n  -verbose       Output messages about what the compiler is doing\
  99 \n  -classpath <path>      Specify where to find input class files\
 100 \n  -bootclasspath <path>  Override location of bootstrap class files\
 101 \n  -extdirs <path>        Override location of installed extensions\
 102 \n  -d <directory>         Specify where to place generated class files\


 137         Cannot create output directory {0}.
 138 
 139 #
 140 # JRMP Messages
 141 #
 142 
 143 rmic.cant.make.stubs.for.interface=\
 144         {0} is an interface; stubs are needed only for remote object classes.
 145 rmic.must.implement.remote=\
 146         Class {0} does not implement an interface that extends java.rmi.Remote; only remote objects need stubs and skeletons.
 147 rmic.must.implement.remote.directly=\
 148         Stubs are only needed for classes that directly implement an interface that extends java.rmi.Remote; class {0} does not directly implement a remote interface.
 149 rmic.must.throw.remoteexception=\
 150         {0} is not a valid remote interface: method {1} must throw java.rmi.RemoteException.
 151 rmic.must.only.throw.exception=\
 152         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.
 153 warn.rmic.tie.found=\
 154         An IIOP "tie" exists for class {0}:\
 155         \n  {1}\
 156         \nIf you use PortableRemoteObject.exportObject, you should remove this file; otherwise, your server object will be exported to IIOP rather than to JRMP.






 157 
 158 #
 159 # RMI-IIOP Messages
 160 #
 161 
 162 rmic.generated=[generated {0} in {1} ms]
 163 rmic.previously.generated=[previously generated file {0} is current]
 164 warn.rmic.member.not.mapped=\
 165     Data member {0} of class {1} was not mapped to IDL.
 166 
 167 rmic.iiop.constraint.1=\
 168     {0} is not a valid interface: does not inherit from java.rmi.Remote.
 169 rmic.iiop.constraint.2=\
 170     serialPersistentFields array of class {0} is invalid: references non-existent members.
 171 rmic.iiop.constraint.3=\
 172     {0} is not a valid remote interface: {1} is not a valid primitive or String constant.
 173 rmic.iiop.constraint.4=\
 174     {0} is not a valid value: serialPersistentFields must be private static final.
 175 rmic.iiop.constraint.5=\
 176     {0} is not a valid remote interface: method {1} must throw RemoteException or a superclass of RemoteException.




  59 generator.class.vcompat=sun.rmi.rmic.RMIGenerator
  60 generator.class.v1.2=sun.rmi.rmic.RMIGenerator
  61 generator.class.iiop=sun.rmi.rmic.iiop.StubGenerator
  62 generator.class.idl=sun.rmi.rmic.iiop.IDLGenerator
  63 generator.class.xprint=sun.rmi.rmic.iiop.PrintGenerator
  64 
  65 # If a generator needs a BatchEnvironment other than
  66 # sun.rmi.rmic.BatchEnvironment, specify it as follows:
  67 #
  68 #     generator.env.{arg}=fullClassName
  69 
  70 generator.env.iiop=sun.rmi.rmic.iiop.BatchEnvironment
  71 generator.env.idl=sun.rmi.rmic.iiop.BatchEnvironment
  72 generator.env.xprint=sun.rmi.rmic.iiop.BatchEnvironment
  73 
  74 rmic.usage=Usage: {0} <options> <class names>\
  75 \n\
  76 \nwhere <options> includes:\
  77 \n  -keep          Do not delete intermediate generated source files\
  78 \n  -keepgenerated (same as "-keep")\
  79 \n  -v1.1          Create stubs/skeletons for 1.1 stub protocol version (deprecated)\
  80 \n  -vcompat       Create stubs/skeletons compatible with both\
  81 \n                           1.1 and 1.2 stub protocol versions (deprecated)\
  82 \n  -v1.2          (default) Create stubs for 1.2 stub protocol version only (deprecated)\
  83 \n  -iiop          Create stubs for IIOP. When present, <options> also includes:\
  84 \n\
  85 \n                   -always           Create stubs even when they appear current\
  86 \n                   -alwaysgenerate   (same as "-always")\
  87 \n                   -nolocalstubs     Do not create stubs optimized for same process\
  88 \n\
  89 \n  -idl           Create IDL. When present, <options> also includes:\
  90 \n\
  91 \n                   -noValueMethods   Do not generate methods for valuetypes \
  92 \n                   -always           Create IDL even when it appears current\
  93 \n                   -alwaysgenerate   (same as "-always")\
  94 \n\
  95 \n  -g             Generate debugging info\
  96 \n  -nowarn        Generate no warnings\
  97 \n  -nowrite       Do not write compiled classes to the file system\
  98 \n  -verbose       Output messages about what the compiler is doing\
  99 \n  -classpath <path>      Specify where to find input class files\
 100 \n  -bootclasspath <path>  Override location of bootstrap class files\
 101 \n  -extdirs <path>        Override location of installed extensions\
 102 \n  -d <directory>         Specify where to place generated class files\


 137         Cannot create output directory {0}.
 138 
 139 #
 140 # JRMP Messages
 141 #
 142 
 143 rmic.cant.make.stubs.for.interface=\
 144         {0} is an interface; stubs are needed only for remote object classes.
 145 rmic.must.implement.remote=\
 146         Class {0} does not implement an interface that extends java.rmi.Remote; only remote objects need stubs and skeletons.
 147 rmic.must.implement.remote.directly=\
 148         Stubs are only needed for classes that directly implement an interface that extends java.rmi.Remote; class {0} does not directly implement a remote interface.
 149 rmic.must.throw.remoteexception=\
 150         {0} is not a valid remote interface: method {1} must throw java.rmi.RemoteException.
 151 rmic.must.only.throw.exception=\
 152         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.
 153 warn.rmic.tie.found=\
 154         An IIOP "tie" exists for class {0}:\
 155         \n  {1}\
 156         \nIf you use PortableRemoteObject.exportObject, you should remove this file; otherwise, your server object will be exported to IIOP rather than to JRMP.
 157 rmic.jrmp.stubs.deprecated=\
 158         Warning: generation and use of skeletons and static stubs for JRMP\
 159         \nis deprecated. Skeletons are unnecessary, and static stubs have\
 160         \nbeen superseded by dynamically generated stubs. Users are\
 161         \nencouraged to migrate away from using {0} to generate skeletons and static\
 162         \nstubs. See the documentation for java.rmi.server.UnicastRemoteObject.
 163 
 164 #
 165 # RMI-IIOP Messages
 166 #
 167 
 168 rmic.generated=[generated {0} in {1} ms]
 169 rmic.previously.generated=[previously generated file {0} is current]
 170 warn.rmic.member.not.mapped=\
 171     Data member {0} of class {1} was not mapped to IDL.
 172 
 173 rmic.iiop.constraint.1=\
 174     {0} is not a valid interface: does not inherit from java.rmi.Remote.
 175 rmic.iiop.constraint.2=\
 176     serialPersistentFields array of class {0} is invalid: references non-existent members.
 177 rmic.iiop.constraint.3=\
 178     {0} is not a valid remote interface: {1} is not a valid primitive or String constant.
 179 rmic.iiop.constraint.4=\
 180     {0} is not a valid value: serialPersistentFields must be private static final.
 181 rmic.iiop.constraint.5=\
 182     {0} is not a valid remote interface: method {1} must throw RemoteException or a superclass of RemoteException.