HN
Hacker News
Top
New
Best
Ask
Show
Jobs
Comment by raylu | Hacker News Reader
Parent
Full thread
raylu
·
SquareRoot.n is static, so it runs before any code in your main().
View on HN
cromwellian
·
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.
Reply on news.ycombinator.com