< prev index next >
src/jdk.rmic/share/classes/sun/rmi/rmic/resources/rmic_zh_CN.properties
Print this page
*** 1,8 ****
#
#
! # Copyright (c) 1996, 2016, 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
--- 1,8 ----
#
#
! # 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
*** 40,50 ****
# 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,iiop,idl,xprint
# For each generator, specify the class to invoke, using the following
# syntax:
#
# generator.class.{arg}=fullClassName
--- 40,50 ----
# 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
*** 56,67 ****
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.iiop=sun.rmi.rmic.iiop.StubGenerator
- generator.class.idl=sun.rmi.rmic.iiop.IDLGenerator
generator.class.xprint=sun.rmi.rmic.iiop.PrintGenerator
# If a generator needs a BatchEnvironment other than
# sun.rmi.rmic.BatchEnvironment, specify it as follows:
#
--- 56,65 ----
*** 69,79 ****
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} <options> <class names>\n\n其中 <options> 包括:\n -keep 不删除临时生成的源文件\n -keepgenerated (与 "-keep" 相同)\n -v1.1 创建 1.1 存根协议版本的存根/骨架 (已过时)\n -vcompat 创建与 1.1 和 1.2 存根协议版本\n 都兼容的存根/骨架 (已过时)\n -v1.2 (默认值) 仅创建 1.2 存根协议版本的存根 (已过时)\n -iiop 创建 IIOP 的存根。如果提供, <options> 还包括:\n\n -always 创建存根 (即使当前显示)\n -alwaysgenerate (与 "-always" 相同)\n -nolocalstubs 不创建对相同进程优化的存根\n\n -idl 创建 IDL。如果提供, <options> 还包括:\n\n -noValueMethods 不为值类型生成方法\n -always 创建 IDL (即使当前显示)\n -alwaysgenerate (与 "-always" 相同)\n\n -g 生成调试信息\n -nowarn 不生成任何警告\n -nowrite 不将编译的类写入文件系统\n -verbose 输出有关编译器正在执行的操作的消息\n -classpath <path> 指定查找输入类文件的位置\n -bootclasspath <path> 覆盖引导类文件的位置\n -d <directory> 指定放置生成的类文件的位置\n -J<runtime flag> 将参数传递给 java 解释器\n
#
# Generic Messages
#
--- 67,77 ----
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
#
*** 108,151 ****
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 或其子类。
- warn.rmic.tie.found=对于类{0}, 存在 IIOP "tie":\n {1}\n如果使用 PortableRemoteObject.exportObject, 则应该删除此文件, 否则, 您的服务器对象将会导出到 IIOP 而非 JRMP。
rmic.jrmp.stubs.deprecated=警告: 为 JRMP 生成和使用骨架及静态存根\n已过时。骨架不再必要, 而静态存根\n已由动态生成的存根取代。建议用户\n不再使用{0}来生成骨架和静态存根。\n请参阅 java.rmi.server.UnicastRemoteObject 的文档。
-
- #
- # RMI-IIOP Messages
- #
-
- rmic.generated=[在 {1} 毫秒内生成{0}]
- rmic.previously.generated=[以前生成的文件{0}为当前文件]
- warn.rmic.member.not.mapped=类{1}的数据成员{0}未映射到 IDL。
-
- rmic.iiop.constraint.1={0}不是有效接口: 没有从 java.rmi.Remote 继承。
- rmic.iiop.constraint.2=类{0}的 serialPersistentFields 数组无效: 引用了不存在的成员。
- rmic.iiop.constraint.3={0}不是有效远程接口: {1}不是有效的基元或字符串常量。
- rmic.iiop.constraint.4={0}不是有效值: serialPersistentFields 必须为专用静态最终类型。
- rmic.iiop.constraint.5={0}不是有效远程接口: 方法{1}必须抛出 RemoteException 或 RemoteException 的超类。
- rmic.iiop.constraint.6={0}不是有效远程接口: 继承的接口{1}均声明了方法{2}。
- rmic.iiop.constraint.7={0}不是有效类型: {1}仅在大小写上不同。
- rmic.iiop.constraint.8={0}不是有效远程实现: 不具有远程接口。
- rmic.iiop.constraint.9=类{1}的 serialPersistentFields 数组成员{0}无效: 类型与声明的成员不匹配。
- rmic.iiop.constraint.10={0}不是有效值: 实现 java.rmi.Remote。
- rmic.iiop.constraint.11={0}不是有效值: 不实现 java.io.Serializable。
- rmic.iiop.constraint.12={0}不是有效值: 父级无效。
- rmic.iiop.constraint.13={0}不是有效接口: 方法{1}的 idl 名称与其他方法冲突。
- rmic.iiop.constraint.14={0}不是有效抽象接口: 不是接口。
- rmic.iiop.constraint.15={0}不是有效抽象接口: 实现 java.rmi.Remote。
- rmic.iiop.constraint.16={0}不是有效远程接口: 不是接口。
- rmic.iiop.constraint.17={0}不是有效远程实现: 不是类。
- rmic.iiop.constraint.18={0}不是有效接口: 方法{1}不能传递实现 org.omg.CORBA.portable.IDLEntity 的异常错误。
- rmic.iiop.constraint.19={0}不是有效接口: 常量{1}的 idl 名称与其他常量冲突。
- rmic.iiop.constraint.20={0}不是有效类: 成员{1}的 idl 名称与其他成员冲突。
- rmic.iiop.constraint.21={0}是远程实现类并且不能用作{1}中的方法参数或返回类型。
- rmic.iiop.constraint.22=内部失败: (方法) 异常错误{0}不是类类型。
- rmic.iiop.constraint.23=内部失败: (方法) 捕获到{0}的空值指针异常错误。
- rmic.iiop.constraint.24=类{0}包含无效返回类型。
- rmic.iiop.constraint.25=类{0}包含方法{1}中的无效参数类型。
- rmic.iiop.constraint.26=无法编译{0}。
- rmic.iiop.constraint.27=无法加载类{0}。
- rmic.iiop.constraint.28={0}是远程实现类并且无法用作{1}中的数据成员。
--- 106,111 ----
< prev index next >