-
Notifications
You must be signed in to change notification settings - Fork 6.2k
8305406: Add @spec tags in java.base/java.* (part 2) #13336
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
8305406: Add @spec tags in java.base/java.* (part 2) #13336
Conversation
|
👋 Welcome back jjg! A progress list of the required criteria for merging this PR into |
|
@jonathan-gibbons 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 /label pull request command. |
Webrevs
|
src/java.base/share/classes/java/security/cert/X509Certificate.java
Outdated
Show resolved
Hide resolved
| * | ||
| * @spec serialization/index.html Java Object Serialization Specification | ||
| * @spec https://www.rfc-editor.org/info/rfc5280 | ||
| * RFC 5280: Internet X.509 Public Key Infrastructure Certificate |
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.
any reason why you indented this comment with 8 spaces? All others are indented with 6
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 will change it to be consistent.
|
@jonathan-gibbons This change is no longer ready for integration - check the PR body for details. |
….java Co-authored-by: Daniel Jelinski <[email protected]>
|
I plan to review this but may need a couple of days. |
|
There are references to other specifications missing, like NIST Special Publication 800-90A Revision 1, referenced in |
This should contain all the specs on spec sites that I know about, so if there are other specs that I missed, please indicate that, and we can either handle them here or in follow-up reviews. Your choice. I see that overall there are 7 href to something in |
|
I'm coming to this late, but what is the breadth of the specs you're trying to call out? Where did you obtain this list? Are all of these changes coming from existing mentions in the current APIs, and you're just adding a In many of our APIs, we mention things "...such as...RFC 2246...", but we make no effort to be complete by providing a list of specs. For example: SSLEngine.java: only TLSv1.0 was mentioned, but there's also SSLv3/1.1/1.2/1.3, and DTLS 1.0/1.2. SSLSocket.java: your change only lists 7301, but not 2246. But same issue as SSLEngine, there are others specs this also applies to. java.security.Key.java: RFC 5280 was the only spec called out. There are many other Key types. SecureRandom: RFC 4086 was called out. There are others. If you want to mention a bunch of the security specs, I think we need to better understand the scope of what you're trying to do, and how this will be kept in sync with Chapter 4 of the Security Documentation (Providers): which also could use some updates-e.g. TLSv1.x RFCs, but that is another RFE for another day. |
This is a mostly automated update based on existing references to well-known specifications.
The update uses "normative"/"preferred" URLs for each spec, to avoid the variety of different URLs used for some of the specs, reflecting different hosts and/or paths for the same specification. If there are additional If there are additional specifications that should be included (that are not currently mentioned) that is a task for the relevant developers in the relevant component teams. I would expect any such work to be done separately, later. It is also a future-goal to clean up the existing The effect of the |
|
We have quite some
@spec tag?
I also see no And in this case, shall I also spell out the section name in the text? |
|
|
@jonathan-gibbons This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
keep-alive comment |
…ava.base-java-2-javax
|
I checked out references to I found 7 references to 4 documents: Of these 4, 1 shows a page that says the spec has been superseded, and one is effectively a 404 I would like to defer these issues to be handled separately, and add |
Update, the apparent 404 is explained by a scripting error, due to an unquoted attribute value. |
The site name in the urls has changed to nvlpubs.nist.gov . For the DSS, the latest version in which DSA is described is |
|
@jonathan-gibbons This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply add a new comment to the pull request. Feel free to ask for assistance if you need help with progressing this pull request towards integration! |
|
@jonathan-gibbons This pull request has been inactive for more than 8 weeks and will now be automatically closed. If you would like to continue working on this pull request in the future, feel free to reopen it! This can be done using the |
|
/open |
|
@hns Only the pull request author can set the pull request state to "open" |
Please review a doc update to add
@specinto the rest of the files injava.base(compared to those in JDK-8305206 PR #13248)Progress
Issue
Reviewers
Reviewing
Using
gitCheckout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/13336/head:pull/13336$ git checkout pull/13336Update a local copy of the PR:
$ git checkout pull/13336$ git pull https://git.openjdk.org/jdk.git pull/13336/headUsing Skara CLI tools
Checkout this PR locally:
$ git pr checkout 13336View PR using the GUI difftool:
$ git pr show -t 13336Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/13336.diff
Webrev
Link to Webrev Comment