Mark backing fields of rarely used charsets volatile #KT-53134
This commit is contained in:
@@ -70,6 +70,8 @@ public object Charsets {
|
||||
utf_32 = charset
|
||||
charset
|
||||
}
|
||||
|
||||
@Volatile
|
||||
private var utf_32: Charset? = null
|
||||
|
||||
/**
|
||||
@@ -82,6 +84,8 @@ public object Charsets {
|
||||
utf_32le = charset
|
||||
charset
|
||||
}
|
||||
|
||||
@Volatile
|
||||
private var utf_32le: Charset? = null
|
||||
|
||||
/**
|
||||
@@ -94,6 +98,8 @@ public object Charsets {
|
||||
utf_32be = charset
|
||||
charset
|
||||
}
|
||||
|
||||
@Volatile
|
||||
private var utf_32be: Charset? = null
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user