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
|
utf_32 = charset
|
||||||
charset
|
charset
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Volatile
|
||||||
private var utf_32: Charset? = null
|
private var utf_32: Charset? = null
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -82,6 +84,8 @@ public object Charsets {
|
|||||||
utf_32le = charset
|
utf_32le = charset
|
||||||
charset
|
charset
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Volatile
|
||||||
private var utf_32le: Charset? = null
|
private var utf_32le: Charset? = null
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -94,6 +98,8 @@ public object Charsets {
|
|||||||
utf_32be = charset
|
utf_32be = charset
|
||||||
charset
|
charset
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Volatile
|
||||||
private var utf_32be: Charset? = null
|
private var utf_32be: Charset? = null
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user