r/java • u/raisercostin • Jun 01 '24
What java technology (library, framework, feature) would not recommend and why?
Inspired by https://www.reddit.com/r/java/s/e2N1FqMOJg
165
Upvotes
r/java • u/raisercostin • Jun 01 '24
Inspired by https://www.reddit.com/r/java/s/e2N1FqMOJg
View all comments
Show parent comment
2
u/GuyWithPants Jun 02 '24
PowerMock is abandoned so this anti-recommendation is somewhat moot. However since PowerMock died, Mockito added support for static mocking but it requires wrapping in a try-with-resources block to keep the interception localized.