On Tue, 25 Mar 2025 14:29:22 GMT, Artur Barashev <abaras...@openjdk.org> wrote:
> We have an incorrect regex syntax when describing a "usage" algorithm > constraint. Current syntax indicates that usage types are optional while they > are not: at least one usage type should be specified. 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? ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24231#discussion_r2012751426