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
8251123: doclint warnings about missing javadoc tags and comments #369
Conversation
👋 Welcome back serb! A progress list of the required criteria for merging this PR into |
@mrserb The following labels will be automatically applied to this pull request: When this pull request is ready to be reviewed, an RFR email will be sent to the corresponding mailing lists. If you would like to change these labels, use the |
/csr |
@mrserb this pull request will not be integrated until the CSR request JDK-8252544 for issue JDK-8251123 has been approved. |
Webrevs
|
Inputs from https://mail.openjdk.java.net/pipermail/beans-dev/2020-August/000424.html are incorporated or is this fresh git review? |
It is a fresh update, it changes from the old review request. I made it less "dangerous". |
/** | ||
* Focus transfers for the lightweight components request should be made | ||
* synchronously. | ||
*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
More simpler way "Focus transfers should be synchronous for lightweight component requests"
|
||
/** | ||
* A {@code IIODOMException} is thrown by the {@code IIOMetadataNode} in | ||
* "exceptional" circumstances. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"A" -> "An"
@@ -810,52 +827,3 @@ public AccessibleRole getAccessibleRole() { | |||
} // class AccessibleAWTScrollPane | |||
|
|||
} | |||
|
|||
/* | |||
* In JDK 1.1.1, the pkg private class java.awt.PeerFixer was moved to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As I mentioned in the OLD review thread for hg, this definitely needs a CSR
and it needs to be called out.
I think it should be separated out from this fix which is about fixing doclint warnings but here you are making an incompatible change. Let's not mix the two.
/* | ||
* Serial Data Version | ||
/** | ||
* Serialized data version. | ||
* @serial | ||
*/ | ||
private int checkboxMenuItemSerializedDataVersion = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK. Good this was being discussed in the old review and it should stay.
|
||
/** | ||
* This constant is used when the backward focus traversal order is active. | ||
*/ | ||
private final int BACKWARD_TRAVERSAL = 1; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see you also reverted the change of these two to static so that is also good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the main thing here is I would separate out removing the duplicate PeerFixer into a new bug.
I also see that the CSR is still just a pure template.
Probably almost all of it. |
The PeerFixer is extracted to the separate CR: Other review comments fixed as well, CSR is in progress. |
CSR is updated. |
@mrserb 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 more details. 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 135 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. ➡️ To integrate this PR with the above commit message to the |
/integrate |
@mrserb Since your change was applied there have been 139 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit f397b60. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
We have a number of missing javadoc tags and comments in the desktop module.
Most of the missing comments are related to the serialized form.
The fix:
I need advice about what exact change should be reviewed in the CSR(except PeerFixer removal)
Note that in some cases I added the comments to the "implementation details", so I did not specify it fully.
The old review request:
https://mail.openjdk.java.net/pipermail/beans-dev/2020-August/000423.html
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/369/head:pull/369
$ git checkout pull/369