Replace constructor with `fun Locale(name: String)` to improve binary compatibility Also, the currently used constructor has been deprecated since Java 18
Replace constructor with
fun Locale(name: String)to improve binary compatibilityAlso, the currently used constructor has been deprecated since Java 18