On Mon, 15 Dec 2025 19:01:43 GMT, Damon Nguyen <[email protected]> wrote:
>> src/jdk.compiler/share/classes/com/sun/tools/javac/resources/compiler_zh_CN.properties
>> line 1637:
>>
>>> 1635: # 0: symbol, 1: file object
>>> 1636: # lint: classfile
>>> 1637: compiler.warn.inconsistent.inner.classes={1} 中 {0} 的 InnerClasses
>>> 属性与源代码不一致\n(可能需要使用 {0} 重新编译 {1})
>>
>> I am a little unsure of this. The English value has "({1} may need to be
>> recompiled with {0})", which can be interpreted as "compiling 1 along with
>> 0" but the Chinese translation sounds like "compiling 1 using 0". I tried to
>> find where this is used but cannot.
>
> @liach Do you happen to know what the intent is here? I see you have reviewed
> this area before and I would appreciate the review.
The intent is "{1} may need to be recompiled against the up-to-date {0}
class-file dependency".
Also the original English term is not exactly accurate - It should have been
"InnerClasses attribute **entry** for {0} in {1} inconsistent with source
code". An unfortunate miss there.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28802#discussion_r2620532834