a quick question about String

Andrew Haley aph-open at littlepinkcloud.com
Mon Jan 3 11:57:27 UTC 2022


On 12/30/21 16:12, Alexander Scherbatiy wrote:
> Would it be useful to have some kind of an immutable array in Java language
> which works in the same way as ordinary array except it is not to
> possible to change
> its values after creation?

Yes.  https://openjdk.java.net/jeps/8261007

-- 
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


More information about the core-libs-dev mailing list