KT-55268 Make k.c.Volatile stable
This commit is contained in:
committed by
Space Team
parent
2dbff89098
commit
b8da3e69ce
@@ -14,7 +14,5 @@ package kotlin.concurrent
|
||||
* For example, if the property getter or setter make several operations with the backing field,
|
||||
* a _property_ operation, i.e. reading or setting it through these accessors, is not guaranteed to be atomic.
|
||||
*/
|
||||
@Suppress("NEWER_VERSION_IN_SINCE_KOTLIN")
|
||||
@SinceKotlin("1.9")
|
||||
@ExperimentalStdlibApi
|
||||
public actual typealias Volatile = kotlin.jvm.Volatile
|
||||
@@ -24,8 +24,6 @@ import kotlin.internal.RequireKotlinVersionKind
|
||||
@Retention(AnnotationRetention.SOURCE)
|
||||
@MustBeDocumented
|
||||
@OptionalExpectation
|
||||
@Suppress("NEWER_VERSION_IN_SINCE_KOTLIN")
|
||||
@SinceKotlin("1.9")
|
||||
@RequireKotlin(version = "1.8.20", versionKind = RequireKotlinVersionKind.COMPILER_VERSION)
|
||||
@ExperimentalStdlibApi
|
||||
public expect annotation class Volatile()
|
||||
@@ -7,8 +7,6 @@
|
||||
|
||||
package kotlin.enums
|
||||
|
||||
import kotlin.jvm.Volatile
|
||||
|
||||
/**
|
||||
* A specialized immutable implementation of [List] interface that
|
||||
* contains all enum entries of the specified enum type [E].
|
||||
|
||||
Reference in New Issue
Block a user