--- old/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler_ja.properties 2018-07-20 09:24:29.448821007 -0700 +++ new/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler_ja.properties 2018-07-20 09:24:28.933774277 -0700 @@ -39,13 +39,18 @@ # name a name, typically a Java identifier # number an integer # option name the name of a command line option -# source version a source version number, such as 1.5, 1.6, 1.7 +# path a path +# profile a profile name +# source a source version number, such as 1.5, 1.6, 1.7, taken from a com.sun.tools.javac.code.Source +# source version a source version number, such as 1.5, 1.6, 1.7, taken from a javax.lang.model.SourceVersion # string a general string # symbol the name of a declared type # symbol kind the kind of a symbol (i.e. method, variable) # kind name an informative description of the kind of a declaration; see compiler.misc.kindname.* +# target a target version number, such as 1.5, 1.6, 1.7, taken from a com.sun.tools.javac.jvm.Target # token the name of a non-terminal in source code; see compiler.misc.token.* # type a Java type; e.g. int, X, X +# url a URL # object a Java object (unspecified) # unused the value is not used in this message # @@ -212,7 +217,7 @@ # 0: kind name, 1: message segment compiler.err.invalid.mref={0}参照が無効です\n{1} -# 0: symbol kind, 1: message segment +# 0: kind name, 1: message segment compiler.misc.invalid.mref={0}参照が無効です\n{1} compiler.misc.static.mref.with.targs=staticメソッド参照のパラメータ化された修飾子 @@ -460,8 +465,8 @@ # 0: type, 1: type compiler.err.incomparable.types=型{0}と{1}は比較できません -# 0: number -compiler.err.int.number.too.large=整数{0}が大きすぎます +# 0: string +compiler.err.int.number.too.large=整数が大きすぎます。 compiler.err.intf.annotation.members.cant.have.params=注釈型宣言内の要素が仮パラメータを宣言できません @@ -493,6 +498,8 @@ compiler.err.array.and.receiver =旧式の配列表記法は受取り側パラメータでは使用できません +compiler.err.wrong.receiver =受取り側パラメータの名前が間違っています + compiler.err.variable.not.allowed=変数の宣言をここで使用することはできません # 0: name @@ -786,9 +793,6 @@ compiler.err.signature.doesnt.match.intf=シグニチャが{0}に適合しません。互換性のないインタフェースです -# 0: number, 1: number -compiler.err.method.invoked.with.incorrect.number.arguments=メソッドを起動した引数の数が正しくありません。予期される数は{0}ですが、{1}が見つかりました - # 0: symbol, 1: symbol, 2: symbol compiler.err.does.not.override.abstract={0}はabstractでなく、{2}内のabstractメソッド{1}をオーバーライドしません @@ -802,8 +806,14 @@ compiler.err.string.const.req=定数の文字列式が必要です +# 0: symbol, 1: fragment +compiler.err.cannot.generate.class=クラス{0}の生成中にエラーが発生しました\n({1}) + # 0: symbol, 1: symbol -compiler.err.synthetic.name.conflict=シンボル{0}が、{1}でコンパイラが合成したシンボルと競合します +compiler.misc.synthetic.name.conflict=シンボル{0}が、{1}でコンパイラが合成したシンボルと競合します + +# 0: symbol, 1: type +compiler.misc.illegal.signature=型{1}の署名属性が不正です compiler.err.throws.not.allowed.in.intf.annotation=throws節を@interfaceメンバーで使用することはできません @@ -822,14 +832,17 @@ compiler.err.type.var.more.than.once.in.result=型変数{0}は{1}の型で2回以上出現します。インスタンス生成されないままにはできません -# 0: type, 1: type, 2: string -compiler.err.types.incompatible.diff.ret=型{0}と型{1}の互換性がありません。両方とも{2}を定義していますが、戻り値の型が無関係です +# 0: type, 1: type, 2: fragment +compiler.err.types.incompatible=タイプ{0}と{1}は互換性がありません。\n{2} + +# 0: name, 1: list of type +compiler.misc.incompatible.diff.ret=両方とも{0}({1})を定義していますが、戻り値の型が無関係です # 0: kind name, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol -compiler.err.types.incompatible.unrelated.defaults={0} {1}は型{4}と{5}から{2}({3})の関連しないデフォルトを継承します +compiler.misc.incompatible.unrelated.defaults={0} {1}は型{4}と{5}から{2}({3})の関連しないデフォルトを継承します # 0: kind name, 1: type, 2: name, 3: list of type, 4: symbol, 5: symbol -compiler.err.types.incompatible.abstract.default={0} {1}は型{4}と{5}から{2}({3})の抽象とデフォルトを継承します +compiler.misc.incompatible.abstract.default={0} {1}は型{4}と{5}から{2}({3})の抽象とデフォルトを継承します # 0: name, 1: kind name, 2: symbol compiler.err.default.overrides.object.member={1} {2}のデフォルト・メソッド{0}はjava.lang.Objectのメンバーをオーバーライドします @@ -860,13 +873,11 @@ # 0: name compiler.err.undef.label=ラベル{0}は未定義です -# 0: name (type) -compiler.err.illegal.ref.to.var.type=制限された型''{0}''への無効な参照です +compiler.err.illegal.ref.to.var.type=制限された型''var''への無効な参照です -# 0: token -compiler.err.var.not.allowed=ここでは''{0}''は許可されません\nリリース10から''{0}''は制限されたローカル変数型であり、型の宣言に使用できません +compiler.err.var.not.allowed=ここでは''var''は許可されません\nリリース10から、''var''は制限されたローカル変数型であり、型の宣言に使用できません -compiler.warn.var.not.allowed=リリース10から、''var''は制限されたローカル変数型であり、型の宣言に使用できません +compiler.warn.var.not.allowed=リリース10から、''var''は制限されたローカル変数型であり、型の宣言での使用、または配列の要素タイプとしての使用はできません # 0: name (variable), 1: message segment compiler.err.cant.infer.local.var.type=ローカル変数{0}の型を推論できません\n({1}) @@ -877,6 +888,15 @@ compiler.err.var.not.allowed.compound=''var''は複合宣言で許可されません +# 0: fragment +compiler.err.invalid.lambda.parameter.declaration=無効なラムダ・パラメータ宣言\n({0}) + +compiler.misc.implicit.and.explicit.not.allowed=暗黙的に型指定されたパラメータと明示的に型指定されたパラメータを組み合せることはできません + +compiler.misc.var.and.explicit.not.allowed=''var''と明示的に型指定されたパラメータを組み合せることはできません + +compiler.misc.var.and.implicit.not.allowed=''var''と暗黙的に型指定されたパラメータを組み合せることはできません + compiler.misc.local.cant.infer.null=変数初期化子は''null''です compiler.misc.local.cant.infer.void=変数初期化子は''void''です @@ -1097,6 +1117,20 @@ compiler.note.unchecked.plural.additional=入力ファイルの操作のうち、未チェックまたは安全ではないものがさらにあります。 +# 0: file name +compiler.note.preview.filename={0}はプレビュー言語機能を使用します。 + +compiler.note.preview.plural=一部の入力ファイルはプレビュー言語機能を使用します。 + +# The following string may appear after one of the above deprecation +# messages. +compiler.note.preview.recompile=詳細は、-Xlint:previewオプションを指定して再コンパイルしてください。 + +# 0: file name +compiler.note.preview.filename.additional={0}は追加でプレビュー言語機能を使用します。 + +compiler.note.preview.plural.additional=一部の入力ファイルは追加でプレビュー言語機能を使用します。 + # Notes related to annotation processing # Print a client-generated note; assumed to be localized, no translation required @@ -1206,6 +1240,9 @@ # 0: type, 1: type compiler.warn.inexact.non-varargs.call=最終パラメータの不正確な引数型を持った可変引数メソッドの非可変引数呼出し。\n可変引数呼出しに関しては{0}にキャストします。\n非可変引数呼出しに関しては{1}にキャストしてこの警告を出さないようにします +# 0: target, 1: target +compiler.err.bad.target.sigpoly.call=多相署名呼出しは-target {0}ではサポートされていません\n(多相署名呼出しを有効にするには-target {1}以上を使用します) + # 0: list of type compiler.warn.unreachable.catch=catch句に移すことができません\nスローされたタイプ{0}はすでに捕捉されています @@ -1247,7 +1284,7 @@ # 0: file name, 1: number, 2: number compiler.warn.big.major.version={0}: メジャー・バージョン{1}は、このコンパイラでサポートされている最新のメジャー・バージョン{2}より新しいです。\nコンパイラのアップグレードをお薦めします。 -# 0: symbol kind, 1: symbol +# 0: kind name, 1: symbol compiler.warn.static.not.qualified.by.type=static {0}は式ではなく型名{1}で修飾する必要があります # 0: string @@ -1256,15 +1293,19 @@ # 0: string compiler.warn.option.obsolete.source=ソース値{0}は廃止されていて、今後のリリースで削除される予定です -# 0: string +# 0: target compiler.warn.option.obsolete.target=ターゲット値{0}は廃止されていて、今後のリリースで削除される予定です # 0: string, 1: string compiler.err.option.removed.source=ソース・オプション{0}は現在サポートされていません。{1}以降を使用してください。 -# 0: string, 1: string +# 0: target, 1: target compiler.err.option.removed.target=ターゲット・オプション{0}は現在サポートされていません。{1}以降を使用してください。 + +# 0: target, 1: target +compiler.warn.option.parameters.unsupported=-parametersは、ターゲット値{0}ではサポートされていません。{1}以降を使用してください。 + compiler.warn.option.obsolete.suppression=廃止されたオプションについての警告を表示しないようにするには、-Xlint:オプションを使用します。 # 0: name, 1: number, 2: number, 3: number, 4: number @@ -1281,7 +1322,7 @@ # 0: string compiler.warn.proc.file.reopening=''{0}''用のファイルを複数回作成しようとしています -# 0: name +# 0: string compiler.warn.proc.type.already.exists=タイプ''{0}''のファイルはすでにソース・パスまたはクラスパスに存在します # 0: string @@ -1339,7 +1380,7 @@ compiler.warn.unchecked.cast.to.type=型{0}への無検査キャストです -# 0: symbol kind, 1: name, 2: list of type, 3: list of type, 4: symbol kind, 5: symbol +# 0: kind name, 1: name, 2: object, 3: object, 4: kind name, 5: symbol compiler.warn.unchecked.meth.invocation.applied=無検査メソッド呼出し: {4} {5}の{0} {1}は指定された型に適用されます\n期待値: {2}\n検出値: {3} # 0: type @@ -1438,6 +1479,9 @@ # 0: token compiler.err.expected={0}がありません +# 0: string +compiler.err.expected.str={0}がありません + # 0: token, 1: token compiler.err.expected2={0}または{1}がありません @@ -1623,6 +1667,7 @@ # 0: type, 1: list of type compiler.misc.no.unique.maximal.instance.exists=型変数{0}(上限{1})の固有の最大インスタンスが存在しません +# 0: type, 1: list of type compiler.misc.no.unique.minimal.instance.exists=型変数{0}(下限{1})の固有の最小インスタンスが存在しません # 0: type, 1: list of type @@ -1631,14 +1676,17 @@ # 0: type, 1: list of type compiler.misc.incompatible.eq.bounds=推論変数{0}には、不適合な等価制約{1}があります -# 0: type, 1: list of type, 2: list of type -compiler.misc.incompatible.eq.upper.bounds=推論変数{0}には、不適合な境界があります\n等価制約: {1}\n上限: {2} +# 0: type, 1: fragment, 2: fragment +compiler.misc.incompatible.bounds=推論変数{0}には、不適合な境界があります\n{1}\n{2} + +# 0: list of type +compiler.misc.lower.bounds=下限: {0} -# 0: type, 1: list of type, 2: list of type -compiler.misc.incompatible.upper.lower.bounds=推論変数{0}には、不適合な境界があります\n上限: {1}\n下限: {2} +# 0: list of type +compiler.misc.eq.bounds=等価制約: {0} -# 0: type, 1: list of type, 2: list of type -compiler.misc.incompatible.eq.lower.bounds=推論変数{0}には、不適合な境界があります\n等価制約: {1}\n下限: {2} +# 0: list of type +compiler.misc.upper.bounds=下限: {0} # 0: list of type, 1: type, 2: type compiler.misc.infer.no.conforming.instance.exists=型変数{0}のインスタンスが存在しないので、{1}は{2}に適合しません @@ -1733,6 +1781,9 @@ # 0: kind name, 1: name, 2: unused, 3: list of type compiler.err.cant.resolve.args=シンボルを見つけられません\nシンボル: {0} {1}({3}) +# 0: kind name, 1: name, 2: unused, 3: list of type +compiler.misc.cant.resolve.args=シンボルを見つけられません\nシンボル: {0} {1}({3}) + # 0: kind name, 1: name, 2: list of type, 3: list of type compiler.err.cant.resolve.args.params=シンボルを見つけられません\nシンボル: {0} <{2}>{1}({3}) @@ -1884,6 +1935,25 @@ # 0: message segment (feature), 1: string (found version), 2: string (expected version) compiler.misc.feature.not.supported.in.source.plural={0}は-source {1}でサポートされていません\n({0}を有効にするには-source {2}以上を使用してください) +# 0: message segment (feature) +compiler.err.preview.feature.disabled={0}はプレビュー機能であり、デフォルトで無効になっています。\n({0}を有効にするには--enable-previewを使用します) + +# 0: message segment (feature) +compiler.err.preview.feature.disabled.plural={0}はプレビュー機能であり、デフォルトで無効になっています。\n({0}を有効にするには--enable-previewを使用します) + +# 0: file object (classfile), 1: string (expected version) +compiler.err.preview.feature.disabled.classfile={0}のクラス・ファイルはJava SE {1}のプレビュー機能を使用します。\n(プレビュー機能を含むクラス・ファイルをロードできるようにするには、--enable-previewを使用します) + +# 0: message segment (feature) +compiler.warn.preview.feature.use={0}はプレビュー機能であり、今後のリリースで削除される可能性があります。 + +# 0: message segment (feature) +compiler.warn.preview.feature.use.plural={0}はプレビュー機能であり、今後のリリースで削除される可能性があります。 + +# 0: file object (classfile), 1: string (expected version) +compiler.warn.preview.feature.use.classfile={0}のクラス・ファイルはJava SE {1}のプレビュー機能を使用します。 + + compiler.misc.feature.modules=モジュール compiler.misc.feature.diamond.and.anon.class=匿名内部クラスでの''<>'' @@ -1933,7 +2003,7 @@ compiler.err.assert.as.identifier=リリース1.4から''assert''はキーワードなので識別子として使用することはできません # TODO 308: make a better error message -compiler.err.this.as.identifier=リリース8から''this''は受信タイプのパラメータ名としてのみ許可され、最初のパラメータにする必要があります +compiler.err.this.as.identifier=リリース8から''this''は受信タイプのパラメータ名としてのみ許可されます\nこれは最初のパラメータにする必要があり、ラムダ・パラメータにはできません compiler.err.receiver.parameter.not.applicable.constructor.toplevel.class=受取り側パラメータは最上位レベル・クラスのコンストラクタに適用できません @@ -1986,6 +2056,14 @@ compiler.note.deferred.method.inst=メソッド{0}の遅延インスタンス化\nインスタンス化されたシグネチャ: {1}\nターゲット型: {2} ######################################## +# Diagnostics for lambda deduplication +# used by LambdaToMethod (debug only) +######################################## + +# 0: symbol +compiler.note.verbose.l2m.deduplicate=重複除外ラムダ実装メソッド{0} + +######################################## # Diagnostics for where clause implementation # used by the RichDiagnosticFormatter. ######################################## @@ -2260,3 +2338,90 @@ # 0: string, 1: string compiler.err.illegal.argument.for.option={0}の引数が不正です: {1} + + +############################################ +# messages previouly at javac.properties + +compiler.err.empty.A.argument=-Aには引数が必要です。''-Akey''または''-Akey=value''を使用してください + +# 0: string +compiler.err.invalid.A.key=注釈プロセッサ・オプション''{0}''のキーに指定されている一連の識別子が、ドットで区切られていません + +# 0: string +compiler.err.invalid.flag={0}は無効なフラグです + +compiler.err.profile.bootclasspath.conflict=profileとbootclasspathオプションは同時に使用できません + +# 0: string +compiler.err.invalid.profile=無効なプロファイル: {0} + +# 0: string +compiler.err.invalid.target={0}は無効なターゲット・リリースです + +# 0: option name, 1: target +compiler.err.option.not.allowed.with.target=オプション{0}はターゲット{1}とともに指定できません + +# 0: string +compiler.err.option.too.many=オプション{0}を指定できるのは1回のみです + +compiler.err.no.source.files=ソース・ファイルがありません + +compiler.err.no.source.files.classes=ソース・ファイルまたはクラス名がありません + +# 0: string +compiler.err.req.arg={0}には引数が必要です + +# 0: string +compiler.err.invalid.source={0}は無効なソース・リリースです + +# 0: string, 1: string +compiler.err.error.writing.file={0}の書込みエラーです。{1} + +compiler.err.sourcepath.modulesourcepath.conflict=--source-pathと--module-source-pathの両方を指定できません + +# 0: string, 1: target +compiler.warn.source.target.conflict=ソース・リリース{0}にはターゲット・リリース{1}が必要です + +# 0: string, 1: target +compiler.warn.target.default.source.conflict=ターゲット・リリース{0}がデフォルトのソース・リリース{1}と競合しています + +# 0: profile, 1: target +compiler.warn.profile.target.conflict=プロファイル{0}はターゲット・リリース{1}に対して有効ではありません + +# 0: string +compiler.err.file.not.directory=ディレクトリではありません: {0} + +# 0: object +compiler.err.file.not.file=ファイルではありません: {0} + +compiler.err.two.class.loaders.1=javacが複数のクラス・ローダー間で分割されています: 構成を確認してください + +# 0: url, 1: url +compiler.err.two.class.loaders.2=javacが複数のクラス・ローダー間で分割されています:\nクラスの取得元ファイル: {0}\njavacの取得元: {1} + +# 0: string, 1: string +compiler.err.bad.value.for.option={0}オプションの値が不正です: ''{1}'' + +# 0: string +compiler.err.no.value.for.option={0}オプションの値がありません + +# 0: string +compiler.err.repeated.value.for.patch.module={0}に対して--patch-moduleが複数回指定されています + +# 0: string +compiler.err.unmatched.quote=環境変数{0}の引用符が一致しません + +# 0: option name +compiler.err.release.bootclasspath.conflict=オプション{0}は--releaseと一緒に使用できません + +# 0: string +compiler.err.unsupported.release.version=リリース・バージョン{0}はサポートされていません + +# 0: string +compiler.err.file.not.found=ファイルが見つかりません: {0} + +# 0: string, 1: source +compiler.err.preview.not.latest=--enable-previewが指定されたソース・リリース{0}は無効です\n(プレビュー言語機能はリリース{1}でのみサポートされています) + +compiler.err.preview.without.source.or.release=--enable-previewは-sourceまたは--releaseとともに使用する必要があります