On Fri, 9 Sep 2022 23:23:04 GMT, Naoto Sato <na...@openjdk.org> wrote:
> I just wonder if the fix is working as intended... Since JDK18, > `file.encoding` is always `UTF-8` with JEP 400, so the switch expression > seems to fall into the `default` clause? You’re right. `file.encoding` may not be useful for this test. I will think about other methods to check the encording. Do you have a good idea about that? ------------- PR: https://git.openjdk.org/jdk/pull/10226