[K/N] Deprecate SharedImmutable annotation #KT-57837
As a part of efforts to stabilize Native stdlib.
This commit is contained in:
committed by
Space Team
parent
0cfb80144a
commit
4ae19b2b44
@@ -19,7 +19,6 @@ var topStringVar = "string"
|
||||
val topSharedStringWithGetter: String
|
||||
get() = "top"
|
||||
val topData = Data(42)
|
||||
@SharedImmutable
|
||||
val topSharedData = Data(43)
|
||||
|
||||
@Test fun runTest1() {
|
||||
@@ -88,7 +87,6 @@ val topSharedData = Data(43)
|
||||
}
|
||||
|
||||
val atomicRef = AtomicReference<Any?>(Any().freeze())
|
||||
@SharedImmutable
|
||||
val stableRef = StableRef.create(Any().freeze())
|
||||
val semaphore = AtomicInt(0)
|
||||
|
||||
|
||||
@@ -51,7 +51,6 @@ fun initJobs(count: Int) = Array<Job?>(count) { i -> Job(i, i * 2, i)}
|
||||
|
||||
val COUNT = 2
|
||||
|
||||
@SharedImmutable
|
||||
val counters = Array(COUNT) { AtomicInt(0) }
|
||||
|
||||
@Test fun runTest1() {
|
||||
|
||||
Reference in New Issue
Block a user