-
Notifications
You must be signed in to change notification settings - Fork 5.7k
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
8328914: Document the java.security.debug property in javadoc #23569
base: master
Are you sure you want to change the base?
Conversation
👋 Welcome back koushikthirupattur! A progress list of the required criteria for merging this PR into |
❗ This change is not yet ready to be integrated. |
@koushikthirupattur 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 /label pull request command. |
Webrevs
|
@koushikthirupattur I think this will require a CSR. Even though it is a property that we have supported for a long time, I am pretty sure it is the first time we have documented it in the javadocs. Contact me if you need help writing the CSR. |
/csr |
@seanjmullan has indicated that a compatibility and specification (CSR) request is needed for this pull request. @koushikthirupattur please create a CSR request for issue JDK-8328914 with the correct fix version. This pull request cannot be integrated until the CSR request is approved. |
Like what |
Please also mention the |
The
|
Added. |
Added. |
The name and title should not be "Security Properties". This is about the debug system property. |
Also, now we have the same content in 3 places:
|
Well, I still find #3 valuable as it is useful as a command-line help option. For #2, we don't need the duplication, but I think it is useful to still have a pointer from the guides to this new html file, so @koushikthirupattur please file a subtask (in the docs/guides category) to have the section in the security guide link to this new properties file in the javadoc. |
Yes, this is because "Security Properties" are different than system properties, and are listed in the |
src/java.base/share/classes/java/security/doc-files/security-properties.html
Outdated
Show resolved
Hide resolved
Created here 8350384 |
Changed. |
The |
src/java.base/share/classes/java/security/doc-files/security-related-system-properties.html
Outdated
Show resolved
Hide resolved
To view security properties, security providers, and TLS-related settings, | ||
specify the -XshowSettings:security option in the java command. | ||
You can enable debugging in JGSS and other related technologies with various system properties or environment variables. | ||
The following table lists java.security.debug options table:</p> |
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.
Do you want to show some examples on how the options are specified? Especially when there are multiple options.
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 a regular user of the property, this change is a great idea. I think the text accompanying the table should describe the syntax of the property value. Is it a comma separated list etc?
src/java.base/share/classes/java/security/doc-files/security-related-system-properties.html
Outdated
Show resolved
Hide resolved
src/java.base/share/classes/java/security/doc-files/security-related-system-properties.html
Outdated
Show resolved
Hide resolved
The syntax has always been a bit loosely specified. So I suggest we don't say anything too specific, but just something like: "The value of the property is one or more options separated by a comma. Some options also have additional sub-options; see the list below for more details on the syntax of each." |
java.security.debug is a widely used debug system property for JDK security libs. It's time to capture details about this property via javadoc.
NOTE : We are adding a new html file (similar to the Networking Properties here) for documenting security-related properties, and over time, we will add more properties to this page.
Progress
Issues
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jdk.git pull/23569/head:pull/23569
$ git checkout pull/23569
Update a local copy of the PR:
$ git checkout pull/23569
$ git pull https://git.openjdk.org/jdk.git pull/23569/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 23569
View PR using the GUI difftool:
$ git pr show -t 23569
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jdk/pull/23569.diff
Using Webrev
Link to Webrev Comment