src/jdk.rmic/share/classes/sun/rmi/rmic/resources/rmic.properties
author smarks
Tue, 04 Jun 2019 11:55:51 -0700
changeset 55205 ef23ea332077
parent 48841 0937e5f799df
permissions -rw-r--r--
8217412: deprecate rmic for removal Reviewed-by: rriggs, sundar
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     1
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     2
#
55205
ef23ea332077 8217412: deprecate rmic for removal
smarks
parents: 48841
diff changeset
     3
# Copyright (c) 1996, 2019, Oracle and/or its affiliates. All rights reserved.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     4
# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
90ce3da70b43 Initial load
duke
parents:
diff changeset
     5
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
     6
# This code is free software; you can redistribute it and/or modify it
90ce3da70b43 Initial load
duke
parents:
diff changeset
     7
# under the terms of the GNU General Public License version 2 only, as
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
     8
# published by the Free Software Foundation.  Oracle designates this
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
     9
# particular file as subject to the "Classpath" exception as provided
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    10
# by Oracle in the LICENSE file that accompanied this code.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    11
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    12
# This code is distributed in the hope that it will be useful, but WITHOUT
90ce3da70b43 Initial load
duke
parents:
diff changeset
    13
# ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
90ce3da70b43 Initial load
duke
parents:
diff changeset
    14
# FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
90ce3da70b43 Initial load
duke
parents:
diff changeset
    15
# version 2 for more details (a copy is included in the LICENSE file that
90ce3da70b43 Initial load
duke
parents:
diff changeset
    16
# accompanied this code).
90ce3da70b43 Initial load
duke
parents:
diff changeset
    17
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    18
# You should have received a copy of the GNU General Public License version
90ce3da70b43 Initial load
duke
parents:
diff changeset
    19
# 2 along with this work; if not, write to the Free Software Foundation,
90ce3da70b43 Initial load
duke
parents:
diff changeset
    20
# Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    21
#
5506
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    22
# Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    23
# or visit www.oracle.com if you need additional information or have any
202f599c92aa 6943119: Rebrand source copyright notices
ohair
parents: 2
diff changeset
    24
# questions.
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    25
#
48841
0937e5f799df 8190378: Removal of CORBA and Java EE modules
lancea
parents: 47216
diff changeset
    26
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    27
90ce3da70b43 Initial load
duke
parents:
diff changeset
    28
#*****************************************************************************
90ce3da70b43 Initial load
duke
parents:
diff changeset
    29
#*                    Copyright (c) IBM Corporation 1998                     *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    30
#*                                                                           *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    31
#* (C) Copyright IBM Corp. 1998                                              *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    32
#*                                                                           *
90ce3da70b43 Initial load
duke
parents:
diff changeset
    33
#*****************************************************************************
90ce3da70b43 Initial load
duke
parents:
diff changeset
    34
90ce3da70b43 Initial load
duke
parents:
diff changeset
    35
# To add a generator sun.rmi.rmic.Foo which is invoked via the -foo option:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    36
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    37
#   1. Add "foo" to generator.args list.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    38
#   2. Add line: generator.class.foo=sun.rmi.rmic.Foo
90ce3da70b43 Initial load
duke
parents:
diff changeset
    39
#   3. Update rmic.usage string to include new arguments.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    40
90ce3da70b43 Initial load
duke
parents:
diff changeset
    41
# For each available generator, list the command line argument used
90ce3da70b43 Initial load
duke
parents:
diff changeset
    42
# to invoke it.  The value can be a single item or a comma separated
90ce3da70b43 Initial load
duke
parents:
diff changeset
    43
# list.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    44
48841
0937e5f799df 8190378: Removal of CORBA and Java EE modules
lancea
parents: 47216
diff changeset
    45
generator.args=v1.1,vcompat,v1.2,xprint
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    46
90ce3da70b43 Initial load
duke
parents:
diff changeset
    47
# For each generator, specify the class to invoke, using the following
90ce3da70b43 Initial load
duke
parents:
diff changeset
    48
# syntax:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    49
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    50
#     generator.class.{arg}=fullClassName
90ce3da70b43 Initial load
duke
parents:
diff changeset
    51
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    52
# The 'default' entry is required and will be used if none of the args
90ce3da70b43 Initial load
duke
parents:
diff changeset
    53
# specified in generator.args is passed. Note that {arg} is compared
90ce3da70b43 Initial load
duke
parents:
diff changeset
    54
# using String.equalsIgnoreCase().
90ce3da70b43 Initial load
duke
parents:
diff changeset
    55
90ce3da70b43 Initial load
duke
parents:
diff changeset
    56
generator.class.default=sun.rmi.rmic.RMIGenerator
90ce3da70b43 Initial load
duke
parents:
diff changeset
    57
90ce3da70b43 Initial load
duke
parents:
diff changeset
    58
generator.class.v1.1=sun.rmi.rmic.RMIGenerator
90ce3da70b43 Initial load
duke
parents:
diff changeset
    59
generator.class.vcompat=sun.rmi.rmic.RMIGenerator
90ce3da70b43 Initial load
duke
parents:
diff changeset
    60
generator.class.v1.2=sun.rmi.rmic.RMIGenerator
90ce3da70b43 Initial load
duke
parents:
diff changeset
    61
generator.class.xprint=sun.rmi.rmic.iiop.PrintGenerator
90ce3da70b43 Initial load
duke
parents:
diff changeset
    62
90ce3da70b43 Initial load
duke
parents:
diff changeset
    63
# If a generator needs a BatchEnvironment other than
90ce3da70b43 Initial load
duke
parents:
diff changeset
    64
# sun.rmi.rmic.BatchEnvironment, specify it as follows:
90ce3da70b43 Initial load
duke
parents:
diff changeset
    65
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    66
#     generator.env.{arg}=fullClassName
90ce3da70b43 Initial load
duke
parents:
diff changeset
    67
90ce3da70b43 Initial load
duke
parents:
diff changeset
    68
generator.env.iiop=sun.rmi.rmic.iiop.BatchEnvironment
90ce3da70b43 Initial load
duke
parents:
diff changeset
    69
generator.env.idl=sun.rmi.rmic.iiop.BatchEnvironment
90ce3da70b43 Initial load
duke
parents:
diff changeset
    70
generator.env.xprint=sun.rmi.rmic.iiop.BatchEnvironment
90ce3da70b43 Initial load
duke
parents:
diff changeset
    71
90ce3da70b43 Initial load
duke
parents:
diff changeset
    72
rmic.usage=Usage: {0} <options> <class names>\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    73
\n\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    74
\nwhere <options> includes:\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    75
\n  -keep          Do not delete intermediate generated source files\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    76
\n  -keepgenerated (same as "-keep")\
22084
fd3c6345eaef 8027536: rmic: add deprecation warning message when generating JRMP static stubs/skeletons
smarks
parents: 7668
diff changeset
    77
\n  -v1.1          Create stubs/skeletons for 1.1 stub protocol version (deprecated)\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    78
\n  -vcompat       Create stubs/skeletons compatible with both\
22084
fd3c6345eaef 8027536: rmic: add deprecation warning message when generating JRMP static stubs/skeletons
smarks
parents: 7668
diff changeset
    79
\n                           1.1 and 1.2 stub protocol versions (deprecated)\
fd3c6345eaef 8027536: rmic: add deprecation warning message when generating JRMP static stubs/skeletons
smarks
parents: 7668
diff changeset
    80
\n  -v1.2          (default) Create stubs for 1.2 stub protocol version only (deprecated)\
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    81
\n  -g             Generate debugging info\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    82
\n  -nowarn        Generate no warnings\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    83
\n  -nowrite       Do not write compiled classes to the file system\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    84
\n  -verbose       Output messages about what the compiler is doing\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    85
\n  -classpath <path>      Specify where to find input class files\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    86
\n  -bootclasspath <path>  Override location of bootstrap class files\
90ce3da70b43 Initial load
duke
parents:
diff changeset
    87
\n  -d <directory>         Specify where to place generated class files\
7476
4d99b5032f82 7000729: NLS: rmic.properties cannot be processed by translation team
mfang
parents: 5506
diff changeset
    88
\n  -J<runtime flag>       Pass argument to the java interpreter\
4d99b5032f82 7000729: NLS: rmic.properties cannot be processed by translation team
mfang
parents: 5506
diff changeset
    89
\n
2
90ce3da70b43 Initial load
duke
parents:
diff changeset
    90
90ce3da70b43 Initial load
duke
parents:
diff changeset
    91
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    92
# Generic Messages
90ce3da70b43 Initial load
duke
parents:
diff changeset
    93
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
    94
90ce3da70b43 Initial load
duke
parents:
diff changeset
    95
rmic.cant.read=Can''t read: {0}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    96
rmic.cant.write=Can''t write: {0}
90ce3da70b43 Initial load
duke
parents:
diff changeset
    97
rmic.option.unsupported=The {0} option is no longer supported.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    98
rmic.option.unimplemented=The {0} option is not yet implemented.
90ce3da70b43 Initial load
duke
parents:
diff changeset
    99
rmic.option.already.seen=The {0} option may be specified no more than once.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   100
rmic.option.requires.argument=The {0} option requires an argument.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   101
rmic.no.such.directory=The {0} directory does not exist.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   102
rmic.no.such.option={0} is an invalid option or argument.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   103
rmic.wrote=[wrote {0}]
90ce3da70b43 Initial load
duke
parents:
diff changeset
   104
rmic.errors={0} errors
90ce3da70b43 Initial load
duke
parents:
diff changeset
   105
rmic.1error=1 error
90ce3da70b43 Initial load
duke
parents:
diff changeset
   106
rmic.warnings={0} warnings
90ce3da70b43 Initial load
duke
parents:
diff changeset
   107
rmic.1warning=1 warning
90ce3da70b43 Initial load
duke
parents:
diff changeset
   108
rmic.done_in=[done in {0} ms]
90ce3da70b43 Initial load
duke
parents:
diff changeset
   109
rmic.no.memory=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   110
	The compiler has run out of memory.  Consider using the "-J-Xmx<size>" command line option to increase the maximum heap size.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   111
rmic.stack.overflow=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   112
	The compiler has run out of stack space.  Consider using the "-J-Xss<size>" command line option to increase the memory allocated for the Java stack.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   113
rmic.class.not.found=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   114
	Class {0} not found.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   115
rmic.missing.property=Missing property generator.class.{0}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   116
rmic.cannot.instantiate=Cannot instantiate class {0}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   117
rmic.cannot.use.both=Cannot use both {0} and {1}
90ce3da70b43 Initial load
duke
parents:
diff changeset
   118
rmic.resource.not.found={0} not found.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   119
rmic.no.output.dir=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   120
	Cannot find suitable output directory for {0}. Use the -d option to specify a root directory.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   121
rmic.cannot.create.dir=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   122
	Cannot create output directory {0}.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   123
90ce3da70b43 Initial load
duke
parents:
diff changeset
   124
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   125
# JRMP Messages
90ce3da70b43 Initial load
duke
parents:
diff changeset
   126
#
90ce3da70b43 Initial load
duke
parents:
diff changeset
   127
90ce3da70b43 Initial load
duke
parents:
diff changeset
   128
rmic.cant.make.stubs.for.interface=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   129
	{0} is an interface; stubs are needed only for remote object classes.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   130
rmic.must.implement.remote=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   131
	Class {0} does not implement an interface that extends java.rmi.Remote; only remote objects need stubs and skeletons.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   132
rmic.must.implement.remote.directly=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   133
	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.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   134
rmic.must.throw.remoteexception=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   135
	{0} is not a valid remote interface: method {1} must throw java.rmi.RemoteException.
90ce3da70b43 Initial load
duke
parents:
diff changeset
   136
rmic.must.only.throw.exception=\
90ce3da70b43 Initial load
duke
parents:
diff changeset
   137
	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.
22084
fd3c6345eaef 8027536: rmic: add deprecation warning message when generating JRMP static stubs/skeletons
smarks
parents: 7668
diff changeset
   138
rmic.jrmp.stubs.deprecated=\
55205
ef23ea332077 8217412: deprecate rmic for removal
smarks
parents: 48841
diff changeset
   139
        Warning: {0} has been deprecated and is subject to removal in a future\
ef23ea332077 8217412: deprecate rmic for removal
smarks
parents: 48841
diff changeset
   140
        \nrelease. Generation and use of skeletons and static stubs for JRMP\
22084
fd3c6345eaef 8027536: rmic: add deprecation warning message when generating JRMP static stubs/skeletons
smarks
parents: 7668
diff changeset
   141
	\nis deprecated. Skeletons are unnecessary, and static stubs have\
55205
ef23ea332077 8217412: deprecate rmic for removal
smarks
parents: 48841
diff changeset
   142
	\nbeen superseded by dynamically generated stubs. Users are encouraged\
ef23ea332077 8217412: deprecate rmic for removal
smarks
parents: 48841
diff changeset
   143
	\nto migrate away from using this tool to generate skeletons and static\
22084
fd3c6345eaef 8027536: rmic: add deprecation warning message when generating JRMP static stubs/skeletons
smarks
parents: 7668
diff changeset
   144
	\nstubs. See the documentation for java.rmi.server.UnicastRemoteObject.