`Locale.setDefault` is blocked by security manager...
# getting-started
s
Locale.setDefault
is blocked by security manager in playground. Is this on purpose?
Copy code
import java.util.Locale;

fun main() {
    Locale.setDefault(Locale("ar"))
}
Exception:
Copy code
Exception in thread "main" java.security.AccessControlException: Access control exception due to security reasons in web playground: 
 access denied ("java.util.PropertyPermission" "user.language" "write")
 at java.lang.SecurityManager.checkPermission (:-1)