On Tue, 27 Jan 2026 14:42:17 GMT, Christian Stein <[email protected]> wrote:

>> Right.
>> 
>>> I mean for cases where there are multiple `module-info.class` files.
>> 
>> Which are checked for a single name separately. Thus, comparing an automatic 
>> module name with the name from the first compiled module is sufficient.
>
>> Which are checked for a single name separately.
> 
> https://github.com/openjdk/jdk/blob/8690d263d9dd0fd06ed41d9529fd8cc84e1c08c8/src/jdk.jartool/share/classes/sun/tools/jar/Validator.java#L494-L496

Ah, gotcha

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/29316#discussion_r2732945771

Reply via email to