jdk11u-dev icon indicating copy to clipboard operation
jdk11u-dev copied to clipboard

8337506: Disable "best-fit" mapping on Windows command line

Open kvergizova opened this issue 9 months ago • 10 comments

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.


Progress

  • [ ] Change must be properly reviewed (1 review required, with at least 1 Reviewer)
  • [x] Change must not contain extraneous whitespace
  • [x] Commit message must refer to an issue
  • [ ] JDK-8337506 needs maintainer approval
  • [x] Change requires CSR request JDK-8349538 to be approved

Issues

  • JDK-8337506: Disable "best-fit" mapping on Windows command line (Bug - P4)
  • JDK-8349538: Disable "best-fit" mapping on Windows command line (CSR)

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk11u-dev.git pull/3062/head:pull/3062
$ git checkout pull/3062

Update a local copy of the PR:
$ git checkout pull/3062
$ git pull https://git.openjdk.org/jdk11u-dev.git pull/3062/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 3062

View PR using the GUI difftool:
$ git pr show -t 3062

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jdk11u-dev/pull/3062.diff

Using Webrev

Link to Webrev Comment

kvergizova avatar Jul 14 '25 16:07 kvergizova

:wave: Welcome back evergizova! A progress list of the required criteria for merging this PR into master will be added to the body of your pull request. There are additional pull request commands available for use with this pull request.

bridgekeeper[bot] avatar Jul 14 '25 16:07 bridgekeeper[bot]

@kvergizova This change now passes all automated pre-integration checks.

After integration, the commit message for the final commit will be:

8337506: Disable "best-fit" mapping on Windows command line

Reviewed-by: andrew

You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed.

At the time when this comment was updated there had been 69 new commits pushed to the master branch:

  • 463e25fb4c6ae3ba5f4d0ba6616cf92863831cff: 8245545: Disable TLS_RSA cipher suites
  • 1939efcdbc2f646e3dd0549a9d43f8bea40258cc: 8213781: web page background renders blue in JEditorPane
  • c5cef8c0447b0822273b49b055c29b57ac4b0f02: 8257709: C1: Double assignment in InstructionPrinter::print_stack
  • ... and 66 more: https://git.openjdk.org/jdk11u-dev/compare/7ff53b5d990bf8d30df130a88e7c4bf15d591275...master

As there are no conflicts, your changes will automatically be rebased on top of these commits when integrating. If you prefer to avoid this automatic rebasing, please check the documentation for the /integrate command for further details.

➡️ To integrate this PR with the above commit message to the master branch, type /integrate in a new comment.

openjdk[bot] avatar Jul 14 '25 16:07 openjdk[bot]

This backport pull request has now been updated with issue from the original commit.

openjdk[bot] avatar Jul 14 '25 16:07 openjdk[bot]

Webrevs

mlbridge[bot] avatar Jul 14 '25 16:07 mlbridge[bot]

@kvergizova This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Aug 11 '25 22:08 bridgekeeper[bot]

/keepalive

kvergizova avatar Sep 01 '25 22:09 kvergizova

@kvergizova The pull request is being re-evaluated and the inactivity timeout has been reset.

openjdk[bot] avatar Sep 01 '25 22:09 openjdk[bot]

@kvergizova This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Sep 30 '25 06:09 bridgekeeper[bot]

/keepalive

kvergizova avatar Oct 20 '25 18:10 kvergizova

@kvergizova The pull request is being re-evaluated and the inactivity timeout has been reset.

openjdk[bot] avatar Oct 20 '25 18:10 openjdk[bot]

@kvergizova This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a /touch or /keepalive command to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration!

bridgekeeper[bot] avatar Nov 18 '25 08:11 bridgekeeper[bot]

⚠️ @kvergizova This change is now ready for you to apply for maintainer approval. This can be done directly in each associated issue or by using the /approval command.

openjdk[bot] avatar Dec 03 '25 09:12 openjdk[bot]

/approval request I'd like to backport it for parity with 11.0.29-oracle. The backport is clean, but some changes were required for the test to work properly. CSR JDK-8349538 is approved.

kvergizova avatar Dec 03 '25 20:12 kvergizova

@kvergizova 8337506: The approval request has been created successfully.

openjdk[bot] avatar Dec 03 '25 20:12 openjdk[bot]

/approve yes

gnu-andrew avatar Dec 05 '25 13:12 gnu-andrew

@gnu-andrew 8337506: The approval request has been approved.

openjdk[bot] avatar Dec 05 '25 13:12 openjdk[bot]

/integrate

kvergizova avatar Dec 05 '25 13:12 kvergizova

Going to push as commit b99b989046555a2f4d2dc3cd487055cb49b79f50. Since your change was applied there have been 69 commits pushed to the master branch:

  • 463e25fb4c6ae3ba5f4d0ba6616cf92863831cff: 8245545: Disable TLS_RSA cipher suites
  • 1939efcdbc2f646e3dd0549a9d43f8bea40258cc: 8213781: web page background renders blue in JEditorPane
  • c5cef8c0447b0822273b49b055c29b57ac4b0f02: 8257709: C1: Double assignment in InstructionPrinter::print_stack
  • ... and 66 more: https://git.openjdk.org/jdk11u-dev/compare/7ff53b5d990bf8d30df130a88e7c4bf15d591275...master

Your commit was automatically rebased without conflicts.

openjdk[bot] avatar Dec 05 '25 13:12 openjdk[bot]

@kvergizova Pushed as commit b99b989046555a2f4d2dc3cd487055cb49b79f50.

:bulb: You may see a message that your pull request was closed with unmerged commits. This can be safely ignored.

openjdk[bot] avatar Dec 05 '25 13:12 openjdk[bot]