RFR: 8357993: Use "stdin.encoding" for reading System.in with InputStreamReader/Scanner [hotspot] [v2]

Volkan Yazici vyazici at openjdk.org
Sun Jun 8 21:12:59 UTC 2025


On Fri, 6 Jun 2025 19:26:32 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

>> Volkan Yazici has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Provide fallback for `stdin.encoding`
>
> BindServer.java is not used. It can be removed.
> 
> The changes in attach010Agent00.java are unnecessary because System.in has been set to read from a file:
> 
> 35     private static final String inStreamFileName = "AttachOnDemand.attach010.in";
> 60         FileInputStream newInputStream = new FileInputStream(inStreamFileName);
> 61         System.setIn(newInputStream);

@plummercj, shall I create a ticket+PR to

1. remove `BindServer.java`, and
2. revert changes to `attach010Agent00.java`?

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

PR Comment: https://git.openjdk.org/jdk/pull/25542#issuecomment-2954277726


More information about the hotspot-jfr-dev mailing list