Как побороть java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
?
Warning: Applet API and AppletViewer are deprecated.
java.security.AccessControlException: access denied ("java.lang.RuntimePermission" "modifyThreadGroup")
at java.base/java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
at java.base/java.security.AccessController.checkPermission(AccessController.java:895)
at java.base/java.lang.SecurityManager.checkPermission(SecurityManager.java:335)
at java.desktop/sun.applet.AppletSecurity.checkAccess(AppletSecurity.java:324)
at java.base/java.lang.ThreadGroup.checkAccess(ThreadGroup.java:313)
at java.base/java.lang.Thread.init(Thread.java:433)
at java.base/java.lang.Thread.init(Thread.java:388)
at java.base/java.lang.Thread.<init>(Thread.java:503)
at app1.start(app1.java:13)
at java.desktop/sun.applet.AppletPanel.run(AppletPanel.java:466)
at java.base/java.lang.Thread.run(Thread.java:844)