RFR: 8352277: java.security documentation: incorrect regex syntax describing "usage" algorithm constraint [v2]
Artur Barashev
abarashev at openjdk.org
Thu Mar 27 14:42:36 UTC 2025
On Tue, 25 Mar 2025 19:22:52 GMT, Artur Barashev <abarashev at openjdk.org> wrote:
>> src/java.base/share/conf/security/java.security line 541:
>>
>>> 539: #
>>> 540: # UsageType:
>>> 541: # ([TLSServer] | [TLSClient] | [SignedJAR])
>>
>> It looks like we list the alternatives without brackets, for example Constraint at line #518 as:
>>
>> 518 # Constraint:
>> 519 # KeySizeConstraint | CAConstraint | DenyAfterConstraint |
>> 520 # UsageConstraint
>>
>> Would you consider to remove the brackets here?
>
> Yes, it's inconsistent with the rest of the file actually. I'll check which version is semantically correct and make changes. Thanks!
All done. I had to re-open a CSR for this change, so it took some time.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/24231#discussion_r2016828566
More information about the security-dev
mailing list