diff options
author | Eugene Burmako <xeno.by@gmail.com> | 2013-08-08 16:28:21 +0200 |
---|---|---|
committer | Eugene Burmako <xeno.by@gmail.com> | 2013-10-18 17:58:58 +0200 |
commit | 6597eeba22891e540d88ad20ff011af5bcd99f96 (patch) | |
tree | 606e0a0561ec7df23767f3412dc105de22760dad /test/files/jvm/natives.scala | |
parent | 17947ed9ad42a0fbae5a16efac154e45b5f13b79 (diff) | |
download | scala-6597eeba22891e540d88ad20ff011af5bcd99f96.tar.gz scala-6597eeba22891e540d88ad20ff011af5bcd99f96.tar.bz2 scala-6597eeba22891e540d88ad20ff011af5bcd99f96.zip |
makes all locks and tlses private and lazy
We do need lazy to be robust, because initialization sequence might
trigger synced operations in unexpected order, leading to NPE's.
Even if this is optimizable by removing some of the lazies or by
carefully reordering cake layers, there's no guarantee that all this
effort won't break after another reflection refactoring.
Diffstat (limited to 'test/files/jvm/natives.scala')
0 files changed, 0 insertions, 0 deletions