jls.1.1 ambiguity
chandpriyankara
chand at apache.org
Thu Apr 3 23:13:32 UTC 2025
Hi,
Regarding v24 of JLS.1.1
'Classes support concurrent programming with synchronized methods'
*Should't we use 'multi-threaded' instead 'concurrent'?*
In my understanding, there's no need for a 'synchronized' keyword unless
multi-threaded. Using 'concurrent' may be to emphasis it's used in "java's
concurrency", but not all concurrent use cases require 'synchronized'
keyword.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/jls-jvms-spec-comments/attachments/20250404/a9a6678c/attachment-0001.htm>
More information about the jls-jvms-spec-comments
mailing list