Y
Hacker News
new
|
ask
|
show
|
jobs
by
raylu
4836 days ago
SquareRoot.n is static, so it runs before any code in your main().
1 comments
cromwellian
4836 days ago
Java Service Providers (SPI) trigger before main() is run. You can create a SecureRandom() provider, add it to the classpath with SPI, removing other providers.
link