On Thu, 20 Nov 2025 12:33:52 GMT, Alan Bateman <[email protected]> wrote:

>> Severin Gehwolf has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Specify that the input file shall be UTF-8
>
> src/jdk.jlink/share/classes/jdk/tools/jlink/internal/plugins/ReleaseInfoPlugin.java
>  line 111:
> 
>> 109:                 // --release-info <file>
>> 110:                 Properties props = new Properties();
>> 111:                 try (InputStreamReader isr = new InputStreamReader(new 
>> FileInputStream(operation), "UTF-8")) {
> 
> `try (Reader reader = Files.newBufferedReader(Path.of(operation)))` for 
> something shorter.

Fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/28399#discussion_r2546098359

Reply via email to