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