--- old/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler_ja.properties 2019-01-01 21:15:10.674964965 -0800 +++ new/src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler_ja.properties 2019-01-01 21:15:09.981902743 -0800 @@ -49,6 +49,7 @@ # 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.* +# tree tag 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) @@ -158,6 +159,28 @@ compiler.err.break.outside.switch.loop=breakがswitch文またはループの外にあります +compiler.err.break.missing.value=breakの値がありません + +compiler.err.break.outside.switch.expression=breakが、囲んでいるswitch式の外にあります + +compiler.err.continue.outside.switch.expression=continueが、囲んでいるswitch式の外にあります + +compiler.err.return.outside.switch.expression=returnが、囲んでいるswitch式の外にあります + +compiler.err.rule.completes.normally=switchルールが値を提供せずに完了しました\n(switch式のswitchルールは値またはスローを提供する必要があります) + +compiler.err.switch.expression.completes.normally=switch式が値を提供せずに完了しました\n(switch式はすべての可能な入力値について値またはスローを提供する必要があります) + +# 0: name +compiler.err.break.ambiguous.target=''{0}''への参照があいまいです\n(''{0}''はラベルと式の両方です) + +# 0: tree tag +compiler.err.break.expr.not.immediate=値ブレークは''{0}''でサポートされていません + +compiler.err.break.complex.value.no.switch.expression=予期しない値ブレークです + +compiler.err.switch.expression.empty=switch式にcase句がありません + # 0: name compiler.err.call.must.be.first.stmt.in.ctor={0}の呼出しはコンストラクタの先頭文である必要があります @@ -583,15 +606,17 @@ compiler.err.native.meth.cant.have.body=nativeメソッドが本体を持つことはできません -# 0: type, 1: type -compiler.err.neither.conditional.subtype=?に対する互換性のない型 : どちらも他方のサブタイプではありません。\n2番目のオペランド : {0}\n3番目のオペランド : {1} - # 0: message segment compiler.misc.incompatible.type.in.conditional=条件式の型が不正です\n{0} compiler.misc.conditional.target.cant.be.void=条件式のターゲット型はvoidにできません +compiler.misc.switch.expression.target.cant.be.void=switch式のターゲット型はvoidにできません + +# 0: message segment +compiler.misc.incompatible.type.in.switch.expression=switch式の型が不正です\n{0} + # 0: message segment compiler.misc.incompatible.ret.type.in.lambda=ラムダ式の戻り型が不正です\n{0} @@ -817,8 +842,6 @@ compiler.err.throws.not.allowed.in.intf.annotation=throws節を@interfaceメンバーで使用することはできません -compiler.err.try.without.catch.or.finally=''try''への''catch''または''finally''がありません - compiler.err.try.without.catch.finally.or.resource.decls=''try''への''catch''、''finally''またはリソース宣言がありません # 0: symbol @@ -865,6 +888,8 @@ compiler.err.unclosed.str.lit=文字列リテラルが閉じられていません +compiler.err.unicode.backtick=RAW文字列リテラルのデリミタとして\\u0060を使用しようとしました + # 0: string compiler.err.unsupported.encoding=サポートされていないエンコーディングです: {0} @@ -922,6 +947,8 @@ compiler.err.unreachable.stmt=この文に制御が移ることはありません +compiler.err.not.exhaustive=switch式がすべての可能な入力値をカバーしていません + compiler.err.initializer.must.be.able.to.complete.normally=初期化子は正常に完了できる必要があります compiler.err.initializer.not.allowed=イニシャライザはinterfacesでは許可されません @@ -1240,9 +1267,6 @@ # 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}はすでに捕捉されています @@ -1852,6 +1876,17 @@ compiler.misc.kindname.instance.init=インスタンス初期化子 +# the following are names of tree kinds: +compiler.misc.tree.tag.forloop=for + +compiler.misc.tree.tag.foreachloop=for + +compiler.misc.tree.tag.whileloop=while + +compiler.misc.tree.tag.doloop=do + +compiler.misc.tree.tag.switch=switch + ##### compiler.misc.no.args=引数がありません @@ -1958,12 +1993,6 @@ compiler.misc.feature.diamond.and.anon.class=匿名内部クラスでの''<>'' -compiler.misc.feature.binary.lit=2進数リテラル - -compiler.misc.feature.underscore.lit=リテラル内のアンダースコア - -compiler.misc.feature.try.with.resources=try-with-resources - compiler.misc.feature.var.in.try.with.resources=try-with-resources内の変数 compiler.misc.feature.type.annotations=タイプ注釈 @@ -1974,10 +2003,6 @@ compiler.misc.feature.diamond=ダイヤモンド演算子 -compiler.misc.feature.multicatch=複数catch文 - -compiler.misc.feature.string.switch=switch内の文字列 - compiler.misc.feature.lambda=ラムダ式 compiler.misc.feature.method.references=メソッド参照 @@ -1992,6 +2017,16 @@ compiler.misc.feature.private.intf.methods=privateインタフェース・メソッド +compiler.misc.feature.multiple.case.labels=複数のcaseラベル + +compiler.misc.feature.switch.rules=switchルール + +compiler.misc.feature.switch.expressions=switch式 + +compiler.misc.feature.raw.string.literals=RAW文字列リテラル + +compiler.misc.feature.var.syntax.in.implicit.lambda=暗黙ラムダのvar構文 + compiler.warn.underscore.as.identifier=リリース9から''_''はキーワードなので識別子として使用することはできません compiler.err.underscore.as.identifier=リリース9から''_''はキーワードなので識別子として使用することはできません @@ -2339,6 +2374,11 @@ # 0: string, 1: string compiler.err.illegal.argument.for.option={0}の引数が不正です: {1} +compiler.err.switch.null.not.allowed=caseのnullラベルは許可されません + +compiler.err.switch.case.unexpected.statement=caseの予期しない文です。予期されるのは、式、ブロックまたはthrow文です + +compiler.err.switch.mixing.case.types=switchでcaseの異なる種類が使用されています ############################################ # messages previouly at javac.properties @@ -2407,7 +2447,12 @@ compiler.err.no.value.for.option={0}オプションの値がありません # 0: string -compiler.err.repeated.value.for.patch.module={0}に対して--patch-moduleが複数回指定されています +compiler.err.repeated.value.for.patch.module=モジュール{0}に対して--patch-moduleが複数回指定されています + +# 0: string +compiler.err.repeated.value.for.module.source.path=モジュール{0}に対して--module-source-pathが複数回指定されています + +compiler.err.multiple.values.for.module.source.path=パターン引数で--module-source-pathが複数回指定されています # 0: string compiler.err.unmatched.quote=環境変数{0}の引用符が一致しません