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

8337481: File API: file.name contains path instead of name #1551

Closed
wants to merge 3 commits into from

Conversation

Schmidor
Copy link
Contributor

@Schmidor Schmidor commented Aug 29, 2024

FileSystemJava had no valid implementation for pathFileName since the function was renamed from pathGetFileName to pathFileName in the FileSystem.h from WebKit


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-8337481: File API: file.name contains path instead of name (Bug - P3)

Reviewers

Reviewing

Using git

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

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

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 1551

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

Using diff file

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

Webrev

Link to Webrev Comment

@bridgekeeper
Copy link

bridgekeeper bot commented Aug 29, 2024

👋 Welcome back Schmidor! 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
Copy link

openjdk bot commented Aug 29, 2024

@Schmidor 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:

8337481: File API: file.name contains path instead of name

Reviewed-by: arapte, hmeda

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 1 new commit pushed to the master branch:

  • a53bc58: 8339236: Suppress removal warnings for Security Manager methods in iOS sources

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.

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 (@arapte, @HimaBinduMeda) 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 rfr Ready for review label Aug 29, 2024
@mlbridge
Copy link

mlbridge bot commented Aug 29, 2024

Webrevs

@kevinrushforth
Copy link
Member

kevinrushforth commented Aug 29, 2024

Reviewers: @arapte @HimaBinduMeda

/reviewers 2

@kevinrushforth kevinrushforth self-requested a review August 29, 2024 17:11
@openjdk
Copy link

openjdk bot commented Aug 29, 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).

@kevinrushforth kevinrushforth requested review from arapte and removed request for kevinrushforth August 29, 2024 17:12
@kevinrushforth
Copy link
Member

The fix looks reasonable to me, but I'll let @arapte be the primary reviewer, so this isn't a formal review.

I was testing #1547 anyway, so I created a test branch with both that fix and this one merged together and ran it through our CI system. I confirm that the newly added test for this PR fails without the fix and passes with the fix.

Copy link
Member

@arapte arapte left a comment

Choose a reason for hiding this comment

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

The change looks good, For reference the related change in Webkit repo is : WebKit/WebKit@3cab8bc
Provided a few comments that need to be attended.
Verified that test fails without this patch and passes with it.

@Schmidor Schmidor requested a review from arapte August 30, 2024 12:43
Copy link
Member

@arapte arapte left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@HimaBinduMeda HimaBinduMeda left a comment

Choose a reason for hiding this comment

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

Changes look fine. Verified that full file path is shown without the fix . With the fix, only the file name is shown, as expected.

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

/integrate

@openjdk openjdk bot added the sponsor Ready to sponsor label Aug 30, 2024
@openjdk
Copy link

openjdk bot commented Aug 30, 2024

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

@kevinrushforth
Copy link
Member

/sponsor

@openjdk
Copy link

openjdk bot commented Aug 30, 2024

Going to push as commit ca70a07.
Since your change was applied there has been 1 commit pushed to the master branch:

  • a53bc58: 8339236: Suppress removal warnings for Security Manager methods in iOS sources

Your commit was automatically rebased without conflicts.

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

openjdk bot commented Aug 30, 2024

@kevinrushforth @Schmidor Pushed as commit ca70a07.

💡 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.

4 participants