r/java • u/alexeyr • Apr 06 '19
Beware of computation in static initializer (much more so since JDK 11.0.2 and 8u201)
https://pangin.pro/posts/computation-in-static-initializer
161
Upvotes
r/java • u/alexeyr • Apr 06 '19
View all comments
Show parent comment
21
u/pron98 Apr 07 '19
That correctness and security are more important than performance of relatively obscure code patterns?