diff options
author | Paul Phillips <paulp@improving.org> | 2013-01-15 00:28:38 -0800 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2013-01-24 17:13:17 -0800 |
commit | 0d01cc1c300b718afd1fe69d5030d36d8000e0cd (patch) | |
tree | 2cacdd3e70574a4721b6e98fd9540ad0b43b46e1 /test/files/run/t4897.scala | |
parent | e7ecaa00bbd5387870d0c26df4d8fba128b59c9e (diff) | |
download | scala-0d01cc1c300b718afd1fe69d5030d36d8000e0cd.tar.gz scala-0d01cc1c300b718afd1fe69d5030d36d8000e0cd.tar.bz2 scala-0d01cc1c300b718afd1fe69d5030d36d8000e0cd.zip |
SI-6969, mishandling of SoftReferences in method cache.
More interesting to test than it was to fix. The soft
reference is now dereferenced once, the locally stored
underlying value ascertained to be non-null, and the
remainder of the references to the value use the local var.
The enclosed test reliably NPEs without this patch.
Diffstat (limited to 'test/files/run/t4897.scala')
0 files changed, 0 insertions, 0 deletions