# # # Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved. # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. # # This code is free software; you can redistribute it and/or modify it # under the terms of the GNU General Public License version 2 only, as # published by the Free Software Foundation. Oracle designates this # particular file as subject to the "Classpath" exception as provided # by Oracle in the LICENSE file that accompanied this code. # # This code is distributed in the hope that it will be useful, but WITHOUT # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License # version 2 for more details (a copy is included in the LICENSE file that # accompanied this code). # # You should have received a copy of the GNU General Public License version # 2 along with this work; if not, write to the Free Software Foundation, # Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. # # Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA # or visit www.oracle.com if you need additional information or have any # questions. # #***************************************************************************** #* Copyright (c) IBM Corporation 1998 * #* * #* (C) Copyright IBM Corp. 1998 * #* * #***************************************************************************** # To add a generator sun.rmi.rmic.Foo which is invoked via the -foo option: # # 1. Add "foo" to generator.args list. # 2. Add line: generator.class.foo=sun.rmi.rmic.Foo # 3. Update rmic.usage string to include new arguments. # For each available generator, list the command line argument used # to invoke it. The value can be a single item or a comma separated # list. generator.args=v1.1,vcompat,v1.2,xprint # For each generator, specify the class to invoke, using the following # syntax: # # generator.class.{arg}=fullClassName # # The 'default' entry is required and will be used if none of the args # specified in generator.args is passed. Note that {arg} is compared # using String.equalsIgnoreCase(). generator.class.default=sun.rmi.rmic.RMIGenerator generator.class.v1.1=sun.rmi.rmic.RMIGenerator generator.class.vcompat=sun.rmi.rmic.RMIGenerator generator.class.v1.2=sun.rmi.rmic.RMIGenerator generator.class.xprint=sun.rmi.rmic.iiop.PrintGenerator # If a generator needs a BatchEnvironment other than # sun.rmi.rmic.BatchEnvironment, specify it as follows: # # generator.env.{arg}=fullClassName generator.env.iiop=sun.rmi.rmic.iiop.BatchEnvironment generator.env.idl=sun.rmi.rmic.iiop.BatchEnvironment generator.env.xprint=sun.rmi.rmic.iiop.BatchEnvironment rmic.usage=用法:{0} <选项> <类名>\n\n其中 <选项> 包括:\n -keep 不删除临时生成的源文件\n -keepgenerated(与 "-keep" 相同)\n -v1.1 创建 1.1 存根协议版本的存根/骨架(已过时)\n -vcompat 创建与 1.1 和 1.2 存根协议版本\n 都兼容的存根/骨架(已过时)\n -v1.2 (默认值)仅创建 1.2 存根协议版本的存根(已过时)\n -g 生成调试信息\n -nowarn 不生成任何警告\n -nowrite 不将编译的类写入文件系统\n -verbose 输出有关编译器正在执行的操作的消息\n -classpath <路径> 指定查找输入类文件的位置\n -bootclasspath <路径> 覆盖引导类文件的位置\n -d <目录> 指定放置生成的类文件的位置\n -J<运行时标记> 将参数传递给 java 解释器\n # # Generic Messages # rmic.cant.read=无法读取: {0} rmic.cant.write=无法写入: {0} rmic.option.unsupported=不再支持{0}选项。 rmic.option.unimplemented=尚未实现{0}选项。 rmic.option.already.seen={0}选项只能指定一次。 rmic.option.requires.argument=选项{0}需要参数。 rmic.no.such.directory={0} 目录不存在。 rmic.no.such.option={0}是无效选项或参数。 rmic.wrote=[已写入{0}] rmic.errors={0} 个错误 rmic.1error=1 个错误 rmic.warnings={0} 个警告 rmic.1warning=1 个警告 rmic.done_in=[在 {0} 毫秒内完成] rmic.no.memory=编译器所用内存不足。请考虑使用 "-J-Xmx" 命令行选项来增加堆大小的最大值。 rmic.stack.overflow=编译器所用堆栈空间不足。请考虑使用 "-J-Xss" 命令行选项来增加分配给 Java 堆栈的内存大小。 rmic.class.not.found=找不到类{0}。 rmic.missing.property=缺少属性 generator.class.{0} rmic.cannot.instantiate=无法实例化类{0} rmic.cannot.use.both=不能同时使用{0}和{1} rmic.resource.not.found=找不到{0}。 rmic.no.output.dir=无法找到适用于{0}的输出目录。请使用 -d 选项来指定根目录。 rmic.cannot.create.dir=无法创建输出目录 {0}。 # # JRMP Messages # rmic.cant.make.stubs.for.interface={0}是接口; 仅远程对象类需要存根。 rmic.must.implement.remote=类{0}不实现扩展 java.rmi.Remote 的接口; 仅远程对象需要存根和框架。 rmic.must.implement.remote.directly=仅直接实现扩展 java.rmi.Remote 的接口的类需要存根; 类{0}不直接实现远程接口。 rmic.must.throw.remoteexception={0}不是有效远程接口: 方法{1}必须抛出 java.rmi.RemoteException。 rmic.must.only.throw.exception=方法{0}不是有效的远程方法实现, 因为它抛出了{1}; 远程方法实现只可能抛出 java.lang.Exception 或其子类。 rmic.jrmp.stubs.deprecated=警告: 为 JRMP 生成和使用骨架及静态存根\n已过时。骨架不再必要, 而静态存根\n已由动态生成的存根取代。建议用户\n不再使用{0}来生成骨架和静态存根。\n请参阅 java.rmi.server.UnicastRemoteObject 的文档。