3 ms·
Yes, but you would be surprised how many people want to change static final fields for various reasons - be it testing, or other things. When telling those tha
by J-Kuhn 2y ago
Yes, but you would be surprised how many people want to change static final fields for various reasons - be it testing, or other things.
When telling those that it doesn't work, and that it can not work without violating the semantics of the JVM, they will wave their hand and say "look, it does work here". And it looks like, yes, if the stars align in that specific constellation, it may work.
- deleted 2y ago[deleted]
- hinkley 2y agoAlso a part of why Singletons are the black sheep of the Patterns family. They’re nasty during bootstrapping and hell during functional testing.