RFR: 8373270: GCC 14.2.0 reports warning: '%s' directive output may be truncated [v2]

Fairoz Matte fmatte at openjdk.org
Tue Dec 9 17:54:26 UTC 2025


On Tue, 9 Dec 2025 05:30:52 GMT, Kim Barrett <kbarrett at openjdk.org> wrote:

>> Fairoz Matte has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Correcting return from error condition
>
> src/java.base/unix/native/libjli/java_md_common.c line 286:
> 
>> 284:       return (0);
>> 285:     }
>> 286: 
> 
> Why not just delete this no longer used function?

Thanks Kim for looking into it, yes we can remove this, I wasn't sure why this was kept and not removed. Removing is good, as this was unused since JDK 9 times.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28708#discussion_r2603703727


More information about the core-libs-dev mailing list