There is no change for the behavior of the above c...
# eap
e
There is no change for the behavior of the above code in Kotlin 1.1. It still prints "cool" most of the time. However, there's nothing in memory model to guarantee anything specific about this code. Some future version of JVM might include oh-so-powerful optimizer in HotSpot that so optimizes this code as to always print "ouch!."