-
Notifications
You must be signed in to change notification settings - Fork 5.8k
8251496: Fix doclint warnings in jdk.net.httpserver #81
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
Conversation
👋 Welcome back pconcannon! A progress list of the required criteria for merging this PR into |
@pconcannon The following label 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 list. If you would like to change these labels, use the |
Webrevs
|
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.
Thanks for taking this on Patrick. This mostly looks good to me, with the comments below. Thanks for adding the new tests to cover the added assertion. That's a nice touch 👍
best regards,
-- daniel
src/jdk.httpserver/share/classes/com/sun/net/httpserver/Authenticator.java
Outdated
Show resolved
Hide resolved
src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpExchange.java
Outdated
Show resolved
Hide resolved
src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpContext.java
Outdated
Show resolved
Hide resolved
src/jdk.httpserver/share/classes/com/sun/net/httpserver/Filter.java
Outdated
Show resolved
Hide resolved
import java.net.InetSocketAddress; | ||
|
||
//BEGIN_TIGER_EXCLUDE |
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 don't have the context here - but if we're removing this import then I guess we should be removing the // BEGIN
and // END
comments too?
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.
Thanks for spotting this. IntelliJ re-arranged the imports automatically. I reverted it back to its original state
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 suspect the commented lines are obsolete TIGER was a long time ago.
That looks like some markup for a tool to use a non-ssl version as a demo.
@AlanBateman Alan might know.
src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpsParameters.java
Outdated
Show resolved
Hide resolved
src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpsParameters.java
Outdated
Show resolved
Hide resolved
/csr needed |
@dfuch this pull request will not be integrated until the CSR request JDK-8252585 for issue JDK-8251496 has been approved. |
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.
src/jdk.httpserver/share/classes/com/sun/net/httpserver/Authenticator.java
Show resolved
Hide resolved
src/jdk.httpserver/share/classes/com/sun/net/httpserver/Authenticator.java
Show resolved
Hide resolved
src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpPrincipal.java
Show resolved
Hide resolved
import java.net.InetSocketAddress; | ||
|
||
//BEGIN_TIGER_EXCLUDE |
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 suspect the commented lines are obsolete TIGER was a long time ago.
That looks like some markup for a tool to use a non-ssl version as a demo.
@AlanBateman Alan might know.
@RogerRiggs There are many many formatting and cleanup tasks that could be done to this particular code. My advise to Patrick was (and continues to be) to just focus on the particular issue at hand - clean up the doclint warnings. Other annoyances can be fixed up later during another pass. This issue is already overloaded with cleanup and semantic spec changes. It will just increase the cognitive complexity to continue to fix (arguably) unrelated annoyances. |
@pconcannon This change now passes all automated pre-integration checks. In addition to the automated checks, the change must also fulfill all project specific requirements After integration, the commit message will be:
Since the source branch of this PR was last updated there have been 129 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 automatic rebasing, please merge ➡️ To integrate this PR with the above commit message to the |
src/jdk.httpserver/share/classes/com/sun/net/httpserver/HttpExchange.java
Outdated
Show resolved
Hide resolved
660a549
to
0278de9
Compare
…ders; to be dealt with in separate issue (JDK-8253005)
/integrate |
@pconcannon Since your change was applied there have been 129 commits pushed to the
Your commit was automatically rebased without conflicts. Pushed as commit ae20dd6. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
…sent (openjdk#81) Also convert keys to custom Key object to have more fine grained control over constructor, equals, and hashCode methods. Integer::valueOf pulls from a global cache which makes PEA optimizations harder.
Hi,
Could someone please review my doc-only fix for JDK-8251496 - ‘Fix doclint warnings in jdk.net.httpserver’ ?
This fix addresses the warnings generated by
javadoc -Xdoclint
due to missing/incomplete API documentation for several classes withinjdk.net.httpserver
.Kind regards,
Patrick
Progress
Issue
Reviewers
Download
$ git fetch https://git.openjdk.java.net/jdk pull/81/head:pull/81
$ git checkout pull/81