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.
try {
SecureRandom.getInstance("SHA1PRNG").nextBytes(arr); // NOI18N
} catch (NoSuchAlgorithmException e) {
assert false : e;
// #36966: IBM JDK doesn't have it.
SecureRandom.getInstance("IBMSecureRandom").nextBytes(arr); // NOI18N
} catch (NoSuchAlgorithmException e2) {
// OK, disable server...
System.err.println("WARNING: remote IDE automation features cannot be cryptographically secured, so disabling; please reopen http://www.netbeans.org/issues/show_bug.cgi?id=36966"); // NOI18N
e.printStackTrace();
return new Status();
}
Server server = new Server(arr, block, handlers, failOnUnknownOptions);