Re: JLS 17.5
"Dr Heinz M. Kabutz via Concurrency-interest" <[email protected]>
| Newsgroups | gmane.comp.java.jsr.166-concurrency |
|---|---|
| Organization | JavaSpecialists.eu |
| Message-ID | <[email protected]> |
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. _______________________________________________ Concurrency-interest mailing list [email protected] http://cs.oswego.edu/mailman/listinfo/concurrency-interest