diff options
author | aleksandar <aleksandar@lampmac14.epfl.ch> | 2012-01-26 16:38:54 +0100 |
---|---|---|
committer | aleksandar <aleksandar@lampmac14.epfl.ch> | 2012-01-26 16:38:54 +0100 |
commit | c608620531dcb47da43172c53891321c7beb98b0 (patch) | |
tree | a70c1a4e91ac58e6da0d2854d3416c406f6478c6 /build.examples.xml | |
parent | c94d342b385fa510882721b8b7f2070750c60f0e (diff) | |
download | scala-c608620531dcb47da43172c53891321c7beb98b0.tar.gz scala-c608620531dcb47da43172c53891321c7beb98b0.tar.bz2 scala-c608620531dcb47da43172c53891321c7beb98b0.zip |
Set fields in immutable hash maps and hash sets to vals.
This is part of an effort to make the immutable collections
(more) thread safe. The `::` still has non-final member fields
for head and tail, but there is not much that can be done right
now about that, since these fields are used by list buffers.
Tried writing a test with unsafe initialization, but could not
invent a scenario which actually fails, at least on the JDK6.
Diffstat (limited to 'build.examples.xml')
0 files changed, 0 insertions, 0 deletions