[concurrency-interest] JLS 17.5
Dr Heinz M. Kabutz
heinz at javaspecialists.eu
Fri Feb 28 04:45:36 EST 2020
On 2020/02/28 10:38, Andrew Haley wrote:
> On 2/26/20 1:58 PM, Dr Heinz M. Kabutz via Concurrency-interest wrote:
>> It assumes that String has an "offset" field and when we make a
>> substring. However, this was changed in Java 7 already, thus the JLS
>> should be updated.
> Isn't this just a "for example," though? The JLS doesn't specify how a
> String is implemented.
Correct, but it's confusing to someone trying to understand what is
meant. This of course originates from the JMM which has the same example.
More information about the Concurrency-interest