Re: JLS 17.5

Remi Forax via Concurrency-interest <[email protected]>
Newsgroups gmane.comp.java.jsr.166-concurrency
Message-ID <[email protected]>
I'm sure everybody has mentally replaced "offset" by "coder".

https://hg.openjdk.java.net/jdk/jdk/file/27e301f90b3a/src/java.base/share/classes/java/lang/String.java#l163

Rémi

----- Mail original -----
> De: "concurrency-interest" <[email protected]>
> À: "Dr Heinz M. Kabutz" <[email protected]>, "concurrency-interest" <[email protected]>
> Envoyé: Vendredi 28 Février 2020 10:38:50
> Objet: Re: [concurrency-interest] JLS 17.5

> 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.
> 
> --
> Andrew Haley  (he/him)
> Java Platform Lead Engineer
> Red Hat UK Ltd. <https://www.redhat.com>
> https://keybase.io/andrewhaley
> EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671
_______________________________________________
Concurrency-interest mailing list
[email protected]
http://cs.oswego.edu/mailman/listinfo/concurrency-interest
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.