Docker sonarqube:10.5.1-community-A terminally deprecated method in java.lang.System has been called

What are you trying to accomplish?
*** Something else?** Giving feedback to the Developers about an SonarQube application warning.

What’s your specific coding challenge in developing your plugin?
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.sonar.process.PluginSecurityManager (file:/opt/sonarqube/lib/sonar-application-10.5.1.90531.jar)

And, if relevant, please share the code that’s giving you problems:
Log info

2024.06.20 08:38:31 INFO web[o.s.s.p.p.PlatformLevelStartup] Running Community Edition
2024.06.20 08:38:31 INFO app[o.s.a.SchedulerImpl] Process[web] is up
2024.06.20 08:38:31 INFO app[o.s.a.ProcessLauncherImpl] Launch process[COMPUTE_ENGINE] from [/opt/sonarqube]: /opt/java/openjdk/bin/java -Djava.awt.headless=true -Dfile.encoding=UTF-8 -Djava.io.tmpdir=/opt/sonarqube/temp -XX:-OmitStackTraceInFastThrow --add-opens=java.base/java.util=ALL-UNNAMED --add-exports=java.base/jdk.internal.ref=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.nio=ALL-UNNAMED --add-opens=java.base/sun.nio.ch=ALL-UNNAMED --add-opens=java.management/sun.management=ALL-UNNAMED --add-opens=jdk.management/com.sun.management.internal=ALL-UNNAMED -Dcom.redhat.fips=false -Xmx512m -Xms128m -XX:+HeapDumpOnOutOfMemoryError -Dhttp.nonProxyHosts=localhost|127.*|[::1] -cp ./lib/sonar-application-10.5.1.90531.jar:/opt/sonarqube/lib/jdbc/postgresql/postgresql-42.7.1.jar org.sonar.ce.app.CeServer /opt/sonarqube/temp/sq-process1509632559181775382properties
WARNING: A terminally deprecated method in java.lang.System has been called
WARNING: System::setSecurityManager has been called by org.sonar.process.PluginSecurityManager (file:/opt/sonarqube/lib/sonar-application-10.5.1.90531.jar)
WARNING: Please consider reporting this to the maintainers of org.sonar.process.PluginSecurityManager
WARNING: System::setSecurityManager will be removed in a future release
2024.06.20 08:38:32 INFO ce[o.s.p.ProcessEntryPoint] Starting Compute Engine
2024.06.20 08:38:32 INFO ce[o.s.ce.app.CeServer] Compute Engine starting up…
2024.06.20 08:38:32 INFO web[o.s.s.p.Platform] Web Server is operational
2024.06.20 08:38:33 INFO ce[o.s.d.DefaultDatabase] Create JDBC data source for jdbc:postgresql://sonarqube-db:5432/sonarqube
2024.06.20 08:38:33 INFO ce[c.z.h.HikariDataSource] HikariPool-1 - Starting…
2024.06.20 08:38:33 INFO ce[c.z.h.p.HikariPool] HikariPool-1 - Added connection org.postgresql.jdbc.PgConnection@10856052
2024.06.20 08:38:33 INFO ce[c.z.h.HikariDataSource] HikariPool-1 - Start completed.
2024.06.20 08:38:35 INFO ce[o.s.s.p.ServerFileSystemImpl] SonarQube home: /opt/sonarqube
2024.06.20 08:38:36 INFO ce[o.s.c.c.CePluginRepository] Load plugins
2024.06.20 08:38:37 INFO ce[o.s.c.c.ComputeEngineContainerImpl] Running Community edition
2024.06.20 08:38:37 INFO ce[o.s.ce.app.CeServer] Compute Engine is started
2024.06.20 08:38:38 INFO app[o.s.a.SchedulerImpl] Process[ce] is up
2024.06.20 08:38:38 INFO app[o.s.a.SchedulerImpl] SonarQube is operational

Hey there.

Thanks for the report. We’re aware of this warning, and will eventually get around to cleaning it up. It has no impact on the application, and you can safely ignore it.