Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JDK-8324337: Cherry-pick WebKit 617.1 stabilization fixes #1350

Closed
wants to merge 4 commits into from

Conversation

HimaBinduMeda
Copy link
Contributor

@HimaBinduMeda HimaBinduMeda commented Jan 25, 2024

Cherry-picked changes related to webkit-2.42.4.Verified build on all platforms. Sanity testing looks fine.


Progress

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

Issue

  • JDK-8324337: Cherry-pick WebKit 617.1 stabilization fixes (Bug - P3)

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.org/jfx.git pull/1350/head:pull/1350
$ git checkout pull/1350

Update a local copy of the PR:
$ git checkout pull/1350
$ git pull https://git.openjdk.org/jfx.git pull/1350/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1350

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.org/jfx/pull/1350.diff

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Jan 25, 2024

👋 Welcome back hmeda! 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 Ready for review label Jan 25, 2024
@mlbridge
Copy link

mlbridge bot commented Jan 25, 2024

Webrevs

@kevinrushforth
Copy link
Member

/reviewers 2

@openjdk
Copy link

openjdk bot commented Jan 25, 2024

@kevinrushforth
The total number of required reviews for this PR (including the jcheck configuration and the last /reviewers command) is now set to 2 (with at least 1 Reviewer, 1 Author).

Copy link
Member

@kevinrushforth kevinrushforth left a comment

Choose a reason for hiding this comment

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

Code changes look fine with one suggestion in the added code under #if PLATFOMR(JAVA).

I'll test it and finish my review.

Comment on lines 190 to 197
if (!placeholder.isDescendantOf(&container))
#if PLATFORM(JAVA)
if(spannerAndPlaceholder.value.get() != nullptr)
#endif
{
if (!placeholder.isDescendantOf(&container))
continue;
placeholdersToRestore.append(&placeholder);
}
placeholdersToRestore.append(&placeholder);
}
Copy link
Member

Choose a reason for hiding this comment

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

The added curly braces should be within #if PLATFORM(JAVA).

Minor: the indentation is off in a couple places.

Minor: add a missing space after the if on line 191.

Here is a suggestion:

#if PLATFORM(JAVA)
        if (spannerAndPlaceholder.value.get() != nullptr)
        {
#endif
            if (!placeholder.isDescendantOf(&container))
                continue;
            placeholdersToRestore.append(&placeholder);
#if PLATFORM(JAVA)
        }
#endif

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Copy link
Member

@kevinrushforth kevinrushforth left a comment

Choose a reason for hiding this comment

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

Looks good now.

Minor: the indentation is still a bit off, but I'll approve as-is. If you decide to fix it, I'll reapprove.

@kevinrushforth
Copy link
Member

@tiainen or @johanvos can one of you be the second reviewer?

Copy link
Collaborator

@tiainen tiainen left a comment

Choose a reason for hiding this comment

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

Everything built fine.

@openjdk
Copy link

openjdk bot commented Jan 26, 2024

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

ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details.

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

8324337: Cherry-pick WebKit 617.1 stabilization fixes

Reviewed-by: kcr, sykora

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

  • d653a31: 8260013: Snapshot does not work for nodes in a subscene
  • 876d535: 8324239: JFXPanelHiDPITest fails on Windows 11
  • 767b027: 8324797: Code example in JavaDoc of ObservableValue#when doesn't compile
  • 359ffb9: 8308955: MediaPlayer/AudioClip skip data on seek/loop

Please see this link for an up-to-date comparison between the source branch of this pull request and 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.

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

@openjdk openjdk bot added the ready Ready to be integrated label Jan 26, 2024
@openjdk openjdk bot removed the ready Ready to be integrated label Jan 29, 2024
@kevinrushforth
Copy link
Member

@tiainen Can you rereview? (only whitespace changed from last time)

@openjdk openjdk bot added the ready Ready to be integrated label Jan 30, 2024
@HimaBinduMeda
Copy link
Contributor Author

/integrate

@openjdk
Copy link

openjdk bot commented Jan 30, 2024

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

  • d653a31: 8260013: Snapshot does not work for nodes in a subscene
  • 876d535: 8324239: JFXPanelHiDPITest fails on Windows 11
  • 767b027: 8324797: Code example in JavaDoc of ObservableValue#when doesn't compile
  • 359ffb9: 8308955: MediaPlayer/AudioClip skip data on seek/loop

Your commit was automatically rebased without conflicts.

@openjdk openjdk bot added the integrated Pull request has been integrated label Jan 30, 2024
@openjdk openjdk bot closed this Jan 30, 2024
@openjdk openjdk bot removed ready Ready to be integrated rfr Ready for review labels Jan 30, 2024
@openjdk
Copy link

openjdk bot commented Jan 30, 2024

@HimaBinduMeda Pushed as commit 52840a1.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integrated Pull request has been integrated
Development

Successfully merging this pull request may close these issues.

3 participants