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
8263472: Specification of JComponent::updateUI should document that the default implementation does nothing #2955
Conversation
…he original implementaiton does nothing
|
Webrevs
|
Do we really want to specify this as a noop method? In this case, we will not be able to change this implementation in the future. |
I thought about it earlier but I raised this PR as I don't see this method was updated from inception so I was not sure if it will be in future and also since it already says "JComponent subclasses must override this method" so a noop default implementation will not be a problem, I guess. |
@prsadhuk This change now passes all automated pre-integration checks. After integration, the commit message for the final commit will be:
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 626 new commits pushed to the
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.
|
Based on the current spec we may add some kind of assertion that this method must not be called. |
I'm afraid this can be interpreted in a wrong way: never call |
Do we need a CSR? |
I have added CSR just in case...https://bugs.openjdk.java.net/browse/JDK-8263845....please review |
/csr |
@mrserb this pull request will not be integrated until the CSR request JDK-8263845 for issue JDK-8263472 has been approved. |
/integrate |
@prsadhuk Since your change was applied there have been 648 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit 4fbb7c2. |
It's unclear from the spec that the original implementation of the method JComponent.updateUI() does nothing which needs to be explicitly stated in the javadoc.
Progress
Issue
Reviewers
Download
To checkout this PR locally:
$ git fetch https://git.openjdk.java.net/jdk pull/2955/head:pull/2955
$ git checkout pull/2955
To update a local copy of the PR:
$ git checkout pull/2955
$ git pull https://git.openjdk.java.net/jdk pull/2955/head