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

8270246: Deprecate for removal implementation methods in Scene #573

Conversation

kevinrushforth
Copy link
Member

@kevinrushforth kevinrushforth commented Jul 12, 2021

The following methods in Scene were former impl_* method that were intended to be encapsulated as part of JDK-8157295 in JDK 9, but were mistakenly left as public:

    public void disposePeer()
    public void enableInputMethodEvents(boolean enable)
    public void processKeyEvent(KeyEvent e)

In the fix for JDK-8157295, the impl_ prefix was removed, and the necessary accessors were added, but the public modifier was not removed. See the diffs for these three methods in Scene.java: disposePeer, enableInputMethodEvents, processKeyEvent

We will deprecate these methods for removal with the intention to remove them from the public API in a future version of JavaFX. This will need a CSR.

NOTE: this is targeted to jfx17.


Progress

  • Change must not contain extraneous whitespace
  • Commit message must refer to an issue
  • Change must be properly reviewed

Issue

  • JDK-8270246: Deprecate for removal implementation methods in Scene

Reviewers

Reviewing

Using git

Checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jfx pull/573/head:pull/573
$ git checkout pull/573

Update a local copy of the PR:
$ git checkout pull/573
$ git pull https://git.openjdk.java.net/jfx pull/573/head

Using Skara CLI tools

Checkout this PR locally:
$ git pr checkout 573

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

Using diff file

Download this PR as a diff file:
https://git.openjdk.java.net/jfx/pull/573.diff

@bridgekeeper
Copy link

bridgekeeper bot commented Jul 12, 2021

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

@kevinrushforth
Copy link
Member Author

/csr
/reviewers 2

@openjdk openjdk bot added rfr Ready for review csr Need approved CSR to integrate pull request labels Jul 12, 2021
@openjdk
Copy link

openjdk bot commented Jul 12, 2021

@kevinrushforth this pull request will not be integrated until the CSR request JDK-8270310 for issue JDK-8270246 has been approved.

@openjdk
Copy link

openjdk bot commented Jul 12, 2021

@kevinrushforth
The number of required reviews for this PR is now set to 2 (with at least 1 of role reviewers).

@mlbridge
Copy link

mlbridge bot commented Jul 12, 2021

Webrevs

@openjdk openjdk bot removed the csr Need approved CSR to integrate pull request label Jul 15, 2021
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.

Looks good to me.

@openjdk
Copy link

openjdk bot commented Jul 16, 2021

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

8270246: Deprecate for removal implementation methods in Scene

Reviewed-by: arapte, aghaisas

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 no new commits pushed to the jfx17 branch. If another commit should be pushed before you perform the /integrate command, your PR will be automatically rebased. If you prefer to avoid any potential automatic rebasing, please check the documentation for the /integrate command for further details.

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

@openjdk openjdk bot added the ready Ready to be integrated label Jul 16, 2021
@kevinrushforth
Copy link
Member Author

/integrate

@openjdk
Copy link

openjdk bot commented Jul 16, 2021

Going to push as commit 8501416.

@openjdk openjdk bot closed this Jul 16, 2021
@openjdk openjdk bot added integrated Pull request has been integrated and removed ready Ready to be integrated rfr Ready for review labels Jul 16, 2021
@openjdk
Copy link

openjdk bot commented Jul 16, 2021

@kevinrushforth Pushed as commit 8501416.

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

@kevinrushforth kevinrushforth deleted the 8270246-depr-Scene-methods branch July 16, 2021 12:39
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
3 participants