Minor glitch

William Fenlason billfenlason at gmail.com
Wed Jul 3 18:47:30 UTC 2024


Java Language and Virtual Machine SpecificationsJava SE 22

Released March 2024 as JSR 397 <https://jcp.org/en/jsr/summary?id=397>
[image: documentation icon]The Java Language Specification, Java SE 22
Edition

HTML <https://docs.oracle.com/javase/specs/jls/se22/html/index.html>

19. Syntax <https://docs.oracle.com/javase/specs/jls/se22/html/jls-19.html>

ComponentPatternList:
ComponentPattern
<https://docs.oracle.com/javase/specs/jls/se22/html/jls-14.html#jls-ComponentPattern>
 {, ComponentPattern
<https://docs.oracle.com/javase/specs/jls/se22/html/jls-14.html#jls-ComponentPattern>
 }

The blank before '}' is extraneous and should be deleted. As it stands, a
program using this as input takes the '}' as a character rather than as
matching "{,".

Regards,
Bill Fenlason
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jls-jvms-spec-comments/attachments/20240703/b44aa327/attachment-0001.htm>


More information about the jls-jvms-spec-comments mailing list