1#
2#
3# Copyright (c) 1996, 2013, Oracle and/or its affiliates. All rights reserved.
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
8# published by the Free Software Foundation.  Oracle designates this
9# particular file as subject to the "Classpath" exception as provided
10# by Oracle in the LICENSE file that accompanied this code.
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#
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.
25#
26 
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
45generator.args=v1.1,vcompat,v1.2,iiop,idl,xprint
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
56generator.class.default=sun.rmi.rmic.RMIGenerator
57
58generator.class.v1.1=sun.rmi.rmic.RMIGenerator
59generator.class.vcompat=sun.rmi.rmic.RMIGenerator
60generator.class.v1.2=sun.rmi.rmic.RMIGenerator
61generator.class.iiop=sun.rmi.rmic.iiop.StubGenerator
62generator.class.idl=sun.rmi.rmic.iiop.IDLGenerator
63generator.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
70generator.env.iiop=sun.rmi.rmic.iiop.BatchEnvironment
71generator.env.idl=sun.rmi.rmic.iiop.BatchEnvironment
72generator.env.xprint=sun.rmi.rmic.iiop.BatchEnvironment
73
74rmic.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  -d <directory>         Specify where to place generated class files\
102\n  -J<runtime flag>       Pass argument to the java interpreter\
103\n
104
105#
106# Generic Messages
107#
108
109rmic.cant.read=Can''t read: {0}
110rmic.cant.write=Can''t write: {0}
111rmic.option.unsupported=The {0} option is no longer supported.
112rmic.option.unimplemented=The {0} option is not yet implemented.
113rmic.option.already.seen=The {0} option may be specified no more than once.
114rmic.option.requires.argument=The {0} option requires an argument.
115rmic.no.such.directory=The {0} directory does not exist.
116rmic.no.such.option={0} is an invalid option or argument.
117rmic.wrote=[wrote {0}]
118rmic.errors={0} errors
119rmic.1error=1 error
120rmic.warnings={0} warnings
121rmic.1warning=1 warning
122rmic.done_in=[done in {0} ms]
123rmic.no.memory=\
124	The compiler has run out of memory.  Consider using the "-J-Xmx<size>" command line option to increase the maximum heap size.
125rmic.stack.overflow=\
126	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.
127rmic.class.not.found=\
128	Class {0} not found.
129rmic.missing.property=Missing property generator.class.{0}
130rmic.cannot.instantiate=Cannot instantiate class {0}
131rmic.cannot.use.both=Cannot use both {0} and {1}
132rmic.resource.not.found={0} not found.
133rmic.no.output.dir=\
134	Cannot find suitable output directory for {0}. Use the -d option to specify a root directory.
135rmic.cannot.create.dir=\
136	Cannot create output directory {0}.
137
138#
139# JRMP Messages
140#
141
142rmic.cant.make.stubs.for.interface=\
143	{0} is an interface; stubs are needed only for remote object classes.
144rmic.must.implement.remote=\
145	Class {0} does not implement an interface that extends java.rmi.Remote; only remote objects need stubs and skeletons.
146rmic.must.implement.remote.directly=\
147	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.
148rmic.must.throw.remoteexception=\
149	{0} is not a valid remote interface: method {1} must throw java.rmi.RemoteException.
150rmic.must.only.throw.exception=\
151	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.
152warn.rmic.tie.found=\
153	An IIOP "tie" exists for class {0}:\
154	\n  {1}\
155	\nIf you use PortableRemoteObject.exportObject, you should remove this file; otherwise, your server object will be exported to IIOP rather than to JRMP.
156rmic.jrmp.stubs.deprecated=\
157	Warning: generation and use of skeletons and static stubs for JRMP\
158	\nis deprecated. Skeletons are unnecessary, and static stubs have\
159	\nbeen superseded by dynamically generated stubs. Users are\
160	\nencouraged to migrate away from using {0} to generate skeletons and static\
161	\nstubs. See the documentation for java.rmi.server.UnicastRemoteObject.
162
163#
164# RMI-IIOP Messages
165#
166
167rmic.generated=[generated {0} in {1} ms]
168rmic.previously.generated=[previously generated file {0} is current]
169warn.rmic.member.not.mapped=\
170    Data member {0} of class {1} was not mapped to IDL.
171
172rmic.iiop.constraint.1=\
173    {0} is not a valid interface: does not inherit from java.rmi.Remote.
174rmic.iiop.constraint.2=\
175    serialPersistentFields array of class {0} is invalid: references non-existent members.
176rmic.iiop.constraint.3=\
177    {0} is not a valid remote interface: {1} is not a valid primitive or String constant.
178rmic.iiop.constraint.4=\
179    {0} is not a valid value: serialPersistentFields must be private static final.
180rmic.iiop.constraint.5=\
181    {0} is not a valid remote interface: method {1} must throw RemoteException or a superclass of RemoteException.
182rmic.iiop.constraint.6=\
183    {0} is not a valid remote interface: inherited interfaces {1} both declare method {2}.
184rmic.iiop.constraint.7=\
185    {0} is not a valid type: {1} differ only in case.
186rmic.iiop.constraint.8=\
187    {0} is not a valid remote implementation: has no remote interfaces.
188rmic.iiop.constraint.9=\
189    serialPersistentFields array member {0} of class {1} is invalid: type does not match declared member.
190rmic.iiop.constraint.10=\
191    {0} is not a valid value: implements java.rmi.Remote.
192rmic.iiop.constraint.11=\
193    {0} is not a valid value: does not implement java.io.Serializable.
194rmic.iiop.constraint.12=\
195    {0} is not a valid value: invalid parent.
196rmic.iiop.constraint.13=\
197    {0} is not a valid interface: the idl name for method {1} conflicts with another method.
198rmic.iiop.constraint.14=\
199    {0} is not a valid abstract interface: not an interface.
200rmic.iiop.constraint.15=\
201    {0} is not a valid abstract interface: implements java.rmi.Remote.
202rmic.iiop.constraint.16=\
203    {0} is not a valid remote interface: not an interface.
204rmic.iiop.constraint.17=\
205    {0} is not a valid remote implementation: not a class.
206rmic.iiop.constraint.18=\
207    {0} is not a valid interface: method {1} may not pass an exception which implements org.omg.CORBA.portable.IDLEntity.
208rmic.iiop.constraint.19=\
209    {0} is not a valid interface: the idl name for constant {1} conflicts with another constant.
210rmic.iiop.constraint.20=\
211    {0} is not a valid class: the idl name for member {1} conflicts with another member.
212rmic.iiop.constraint.21=\
213    {0} is a remote implementation class and cannot be used as a method argument or return type in {1}.
214rmic.iiop.constraint.22=\
215    Internal failure: (Method) exception {0} not a class type.
216rmic.iiop.constraint.23=\
217    Internal failure: (Method) caught null pointer exception for {0}.
218rmic.iiop.constraint.24=\
219    Class {0} contains an invalid return type.
220rmic.iiop.constraint.25=\
221    Class {0} contains an invalid argument type in method {1}.
222rmic.iiop.constraint.26=\
223    Could not compile {0}.
224rmic.iiop.constraint.27=\
225    Could not load class {0}.
226rmic.iiop.constraint.28=\
227    {0} is a remote implementation class and cannot be used as a data member in {1}.
228