# [JEP 486](https://openjdk.org/jeps/486) examples Source: https://openjdk.org/jeps/486 ```java // Java 24+: do not do this. System.setSecurityManager(new SecurityManager()); // UnsupportedOperationException ``` ```bash # Remove these from launchers and CI configs. -Djava.security.manager -Djava.security.manager=allow -Djava.security.policy=app.policy ```