Skip to content

Conversation

@ktakakuri
Copy link
Member

@ktakakuri ktakakuri commented Mar 29, 2022

Could you please review the 8278138 bug fixes?

This problem is caused by missing DLL's which vcruntime140.dll depends on.
I think it is needed to copy the missing DLL's into jdk/bin as like jdk/jre/bin.
I fix to copy api-ms-win-*.dll files to jdk/bin when images directory is created.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed (1 review required, with at least 1 reviewer)

Issue

  • JDK-8278138: OpenJDK8 fails to start on Windows 8.1 after upgrading compiler to VS2017

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk8u-dev pull/25/head:pull/25
$ git checkout pull/25

Update a local copy of the PR:
$ git checkout pull/25
$ git pull https://git.openjdk.java.net/jdk8u-dev pull/25/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 25

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.java.net/jdk8u-dev/pull/25.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Mar 29, 2022

👋 Welcome back ktakakuri! 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.

@openjdk openjdk bot added the rfr Pull request is ready for review label Mar 29, 2022
@mlbridge
Copy link

mlbridge bot commented Mar 29, 2022

Webrevs

@ktakakuri
Copy link
Member Author

Could anyone review the fix please?

@ktakakuri
Copy link
Member Author

Could someone please review this pull request?

Copy link

@jaokim jaokim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi,
Thank you for looking into this.
I've found that only copying the api-ms-* DLLs isn't sufficient. You also need to copy ucrtbase.dll among others. Instead of relying on the name, you can simply add all files from the the redistributable UCRT directory, in the same manner as in CopyFiles.gmk.

Co-authored-by: Joakim Nordström <joakim.nordstrom@oracle.com>
@ktakakuri
Copy link
Member Author

Hi, Thank you for looking into this. I've found that only copying the api-ms-* DLLs isn't sufficient. You also need to copy ucrtbase.dll among others. Instead of relying on the name, you can simply add all files from the the redistributable UCRT directory, in the same manner as in CopyFiles.gmk.

Thank you for your review.
I think your comments are correct.

@ktakakuri
Copy link
Member Author

@jaokim
I have committed your fix.
Could you please review it again?

Copy link

@jaokim jaokim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes looks good to me!

@openjdk
Copy link

openjdk bot commented Apr 21, 2022

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

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

8278138: OpenJDK8 fails to start on Windows 8.1 after upgrading compiler to VS2017

Reviewed-by: jnordstrom, erikj

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 42 new commits pushed to the master branch:

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.

As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@erikj79) but any other Committer may sponsor as well.

➡️ To flag this PR as ready for integration with the above commit message, type /integrate in a new comment. (Afterwards, your sponsor types /sponsor in a new comment to perform the integration).

@openjdk openjdk bot added the ready Pull request is ready to be integrated label Apr 21, 2022
@ktakakuri
Copy link
Member Author

/integrate

@openjdk openjdk bot added the sponsor Pull request is ready to be sponsored label Apr 22, 2022
@openjdk
Copy link

openjdk bot commented Apr 22, 2022

@ktakakuri
Your change (at version be11289) is now ready to be sponsored by a Committer.

@ktakakuri
Copy link
Member Author

@erikj79
Would you be willing to be a sponsor?

@jaokim
Copy link

jaokim commented Apr 26, 2022

This needs to be approved according to https://wiki.openjdk.java.net/display/jdk8u/Main#Main-FixApprovals
I'm in the process of adding the needed labels to the JBS issue, and then a maintainer will take care of the approval.

@jerboaa
Copy link
Contributor

jerboaa commented May 18, 2022

@ktakakuri The issue this is referencing is resolved. I'm guessing it got resolved with a push to Oracle's JDK 8 fork. The commit for this isn't public so we need to do the SKARA trick to mention the backport bug like so: Backport JDK-8278138. I.e. Please change the PR title to Backport JDK-8278138. It's strange that skara bots don't flag this with a warning (it's not labelled as a backport and the bug is not open anymore).

@jerboaa
Copy link
Contributor

jerboaa commented May 18, 2022

Also, please enable PR checks. Perhaps a merge from master would do that.

@jerboaa
Copy link
Contributor

jerboaa commented May 18, 2022

@ktakakuri Once this is being recognized as a backport I'll sponsor it for you.

@ktakakuri ktakakuri changed the title 8278138: OpenJDK8 fails to start on Windows 8.1 after upgrading compiler to VS2017 Backport JDK-8278138 May 19, 2022
@openjdk openjdk bot changed the title Backport JDK-8278138 8278138: OpenJDK8 fails to start on Windows 8.1 after upgrading compiler to VS2017 May 19, 2022
@openjdk
Copy link

openjdk bot commented May 19, 2022

This backport pull request has now been updated with the original issue, but not the original commit. If you have the original commit hash, please update the pull request title with Backport <hash>.

@openjdk openjdk bot added the backport Port of a pull request already in a different code base label May 19, 2022
@jerboaa
Copy link
Contributor

jerboaa commented May 19, 2022

/sponsor

@openjdk
Copy link

openjdk bot commented May 19, 2022

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

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label May 19, 2022
@openjdk openjdk bot closed this May 19, 2022
@openjdk openjdk bot removed ready Pull request is ready to be integrated rfr Pull request is ready for review sponsor Pull request is ready to be sponsored labels May 19, 2022
@openjdk
Copy link

openjdk bot commented May 19, 2022

@jerboaa @ktakakuri Pushed as commit 6b94b65.

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

@ktakakuri ktakakuri deleted the 8278138 branch June 22, 2022 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport Port of a pull request already in a different code base integrated Pull request has been integrated

Development

Successfully merging this pull request may close these issues.

4 participants