8276826: Clarify the ModuleDescriptor.Version specification’s treatment of repeated punctuation characters

Reviewed-by: mchung, darcy
This commit is contained in:
Mark Reinhold 2021-12-17 00:34:03 +00:00
parent be6b90d90b
commit f5d7c777bc

@ -893,7 +893,8 @@ public class ModuleDescriptor
* integer or a string. Tokens are separated by the punctuation characters
* {@code '.'}, {@code '-'}, or {@code '+'}, or by transitions from a
* sequence of digits to a sequence of characters that are neither digits
* nor punctuation characters, or vice versa.
* nor punctuation characters, or vice versa. Consecutive repeated
* punctuation characters are treated as a single punctuation character.
*
* <ul>
*