This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
I.e. from bootstrap code, rather than from normal core.
Cf. also issue #41355, possibly related.
The problem is that running with security manager is slower, that is why we register it at the end in NonGui.java: // 8. Advance Policy // set security manager SecurityManager secman = new TopSecurityManager(); I guess the request is wontfix.