[jdk11u-dev] Integrated: 8337506: Disable "best-fit" mapping on Windows command line
Ekaterina Vergizova
evergizova at openjdk.org
Fri Dec 5 13:24:14 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.
This pull request has now been integrated.
Changeset: b99b9890
Author: Ekaterina Vergizova <evergizova at openjdk.org>
URL: https://git.openjdk.org/jdk11u-dev/commit/b99b989046555a2f4d2dc3cd487055cb49b79f50
Stats: 104 lines in 2 files changed: 102 ins; 0 del; 2 mod
8337506: Disable "best-fit" mapping on Windows command line
Reviewed-by: andrew
Backport-of: 94f8a744e03d7cbe6527e35b0df6ffc33c29ff06
-------------
PR: https://git.openjdk.org/jdk11u-dev/pull/3062
More information about the jdk-updates-dev
mailing list