[jdk11u-dev] RFR: 8337506: Disable "best-fit" mapping on Windows command line

Andrew John Hughes andrew at openjdk.org
Wed Dec 3 09:09:03 UTC 2025


On Mon, 14 Jul 2025 16:03:37 GMT, Ekaterina Vergizova <evergizova at openjdk.org> wrote:

> I'd like to backport this for parity with 11.0.29-oracle.
> CSR JDK-8349538 has been approved for 11u.
> 17u patch applies cleanly, but the test requires a few modifications to work properly:
> - replaced `native.encoding` property with `file.encoding`, as `native.encoding` is not present in 11u. 
> These two are identical unless `file.encoding` is overridden on the command line:
> https://github.com/openjdk/jdk17u-dev/blob/master/src/java.base/share/classes/jdk/internal/util/SystemProps.java#L72
> - replaced `"str".formatted(args)` with `String.format("str", args)`, as String::formatted() is not available in 11u. Both methods produce the same result.
> 
> The new test passes successfully after applying the patch.

Changes look good to me. Thanks for backporting.

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

Marked as reviewed by andrew (Reviewer).

PR Review: https://git.openjdk.org/jdk11u-dev/pull/3062#pullrequestreview-3533935624


More information about the jdk-updates-dev mailing list