3 ms·
Java will natively support value types (and already does, just not user-defined value types). What you've quoted is the spec for locked arrays; those arrays are
by pron 10y ago
Java will natively support value types (and already does, just not user-defined value types). What you've quoted is the spec for locked arrays; those arrays are not value types, but reference types. I'm not sure about the relationship between the text in that JEP and the current work on value types: http://openjdk.java.net/projects/valhalla/ http://openjdk.java.net/projects/valhalla/